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