Home > ts-morph-structures > ModuleDeclarationImpl
Signature:
export default class ModuleDeclarationImpl implements ModuleDeclarationStructureClassIfc
Implements: ModuleDeclarationStructureClassIfc
Constructor | Modifiers | Description |
---|---|---|
(constructor)(name) | Constructs a new instance of the ModuleDeclarationImpl class |
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[] |
Method | Modifiers | Description |
---|---|---|
clone(source) | static |
|
toJSON() |