⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
3 |
📐 Interfaces |
2 |
📑 Type Aliases |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/element/PropertyDefinition/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
ClassPropertyDefinitionNonComputedNameBase |
../../base/PropertyDefinitionBase |
PropertyDefinitionComputedNameBase |
../../base/PropertyDefinitionBase |
Interfaces
PropertyDefinitionComputedName
Interface Code
export interface PropertyDefinitionComputedName
extends PropertyDefinitionComputedNameBase {
type: AST_NODE_TYPES.PropertyDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.PropertyDefinition |
✗ |
|
PropertyDefinitionNonComputedName
Interface Code
export interface PropertyDefinitionNonComputedName
extends ClassPropertyDefinitionNonComputedNameBase {
type: AST_NODE_TYPES.PropertyDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.PropertyDefinition |
✗ |
|
Type Aliases
PropertyDefinition
type PropertyDefinition = | PropertyDefinitionComputedName
| PropertyDefinitionNonComputedName;