⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
2 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/special/TemplateElement/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
BaseNode |
../../base/BaseNode |
Interfaces
TemplateElement
Interface Code
export interface TemplateElement extends BaseNode {
type: AST_NODE_TYPES.TemplateElement;
tail: boolean;
value: {
cooked: string;
raw: string;
};
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.TemplateElement |
✗ |
|
tail |
boolean |
✗ |
|
value |
`{ |
|
|
cooked: string; |
|
|
|
raw: string; |
|
|
|
}` |
✗ |
|
|