⬅️ 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/TSAbstractMethodDefinition/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
MethodDefinitionComputedNameBase |
../../base/MethodDefinitionBase |
MethodDefinitionNonComputedNameBase |
../../base/MethodDefinitionBase |
Interfaces
TSAbstractMethodDefinitionComputedName
Interface Code
export interface TSAbstractMethodDefinitionComputedName
extends MethodDefinitionComputedNameBase {
type: AST_NODE_TYPES.TSAbstractMethodDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.TSAbstractMethodDefinition |
✗ |
|
TSAbstractMethodDefinitionNonComputedName
Interface Code
export interface TSAbstractMethodDefinitionNonComputedName
// this does not extend ClassMethodDefinitionNonComputedNameBase because abstract private names are not allowed
extends MethodDefinitionNonComputedNameBase {
type: AST_NODE_TYPES.TSAbstractMethodDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.TSAbstractMethodDefinition |
✗ |
|
Type Aliases
TSAbstractMethodDefinition
type TSAbstractMethodDefinition = | TSAbstractMethodDefinitionComputedName
| TSAbstractMethodDefinitionNonComputedName;