⬅️ 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/MethodDefinition/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
ClassMethodDefinitionNonComputedNameBase |
../../base/MethodDefinitionBase |
MethodDefinitionComputedNameBase |
../../base/MethodDefinitionBase |
Interfaces
MethodDefinitionComputedName
Interface Code
export interface MethodDefinitionComputedName
extends MethodDefinitionComputedNameBase {
type: AST_NODE_TYPES.MethodDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.MethodDefinition |
✗ |
|
MethodDefinitionNonComputedName
Interface Code
export interface MethodDefinitionNonComputedName
extends ClassMethodDefinitionNonComputedNameBase {
type: AST_NODE_TYPES.MethodDefinition;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.MethodDefinition |
✗ |
|
Type Aliases
MethodDefinition
type MethodDefinition = | MethodDefinitionComputedName
| MethodDefinitionNonComputedName;