⬅️ 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/TSAbstractAccessorProperty/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
PropertyDefinitionComputedNameBase |
../../base/PropertyDefinitionBase |
PropertyDefinitionNonComputedNameBase |
../../base/PropertyDefinitionBase |
Interfaces
TSAbstractAccessorPropertyComputedName
Interface Code
export interface TSAbstractAccessorPropertyComputedName
extends PropertyDefinitionComputedNameBase {
type: AST_NODE_TYPES.TSAbstractAccessorProperty;
value: null;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.TSAbstractAccessorProperty |
✗ |
|
value |
null |
✗ |
|
TSAbstractAccessorPropertyNonComputedName
Interface Code
export interface TSAbstractAccessorPropertyNonComputedName
// this does not extend ClassPropertyDefinitionNonComputedNameBase because abstract private names are not allowed
extends PropertyDefinitionNonComputedNameBase {
type: AST_NODE_TYPES.TSAbstractAccessorProperty;
value: null;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.TSAbstractAccessorProperty |
✗ |
|
value |
null |
✗ |
|
Type Aliases
TSAbstractAccessorProperty
type TSAbstractAccessorProperty = | TSAbstractAccessorPropertyComputedName
| TSAbstractAccessorPropertyNonComputedName;