ts-morph-structures

Home > ts-morph-structures > VariableDeclarationImpl

VariableDeclarationImpl class

Signature:

export default class VariableDeclarationImpl implements VariableDeclarationStructureClassIfc 

Implements: VariableDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(name)   Constructs a new instance of the VariableDeclarationImpl class

Properties

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  

Methods

Method Modifiers Description
clone(source) static  
toJSON()