ts-morph-structures

Home > ts-morph-structures > ModuleDeclarationImpl

ModuleDeclarationImpl class

Signature:

export default class ModuleDeclarationImpl implements ModuleDeclarationStructureClassIfc 

Implements: ModuleDeclarationStructureClassIfc

Constructors

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

Properties

Property Modifiers Type Description
declarationKind?   ModuleDeclarationKind (Optional) The module declaration kind.
docs readonly (JSDocImpl | string)[]  
hasDeclareKeyword   boolean  
isDefaultExport   boolean  
isExported   boolean  
kind readonly StructureKind.Module  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
statements readonly (StatementStructureImpls | stringOrWriterFunction)[]  
trailingTrivia readonly stringOrWriterFunction[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()