Home > ts-morph-structures > VariableDeclarationImpl
Signature:
export default class VariableDeclarationImpl implements VariableDeclarationStructureClassIfc
Implements: VariableDeclarationStructureClassIfc
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name) | Constructs a new instance of the VariableDeclarationImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| hasExclamationToken | boolean | ||
| initializer? | stringOrWriterFunction | undefined | (Optional) | |
| kind | readonly |
StructureKind.VariableDeclaration | |
| leadingTrivia | readonly |
stringOrWriterFunction[] | |
| name | string | ||
| trailingTrivia | readonly |
stringOrWriterFunction[] | |
| type? | stringOrWriterFunction | undefined | (Optional) | |
| typeStructure | TypeStructures | undefined |
| Method | Modifiers | Description |
|---|---|---|
| clone(source) | static |
|
| toJSON() |