🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a namespace import declaration.
For example: import * as foo from './foo.js'
Methods
-
getTSNode
codegetTSNode(): ImportDeclaration
Returns
ImportDeclaration
: -
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getName
codegetName(): string
Returns
string
: -
getNodeType
codegetNodeType(): RootNodeType
Returns
RootNodeType
: -
getKind
codegetKind(): ImportKind
Returns
ImportKind
: -
getImportPath
codegetImportPath(): string
Returns
string
: -
getOriginalPath
codegetOriginalPath(): string
Returns
string
: -
isTypeOnly
codeisTypeOnly(): boolean
Returns
boolean
: -
isBareModuleSpecifier
codeisBareModuleSpecifier(): boolean
Returns
boolean
: -
serialize
codeSerializes the reflected node
serialize(): Import
Returns
Import
:The reflected node as a serializable object