🚧 Still under progress. Soon will be finished.

NamedImportNode

CLASS code

Methods

  • getTSNode

    code
    getTSNode(): ImportDeclaration

    Returns

    ImportDeclaration:
  • getContext

    code
    getContext(): ProjectContext

    Returns

    ProjectContext:
  • getName

    code
    getName(): string

    Returns

    string:
  • getReferenceName

    code
    getReferenceName(): string

    Returns

    string:
  • getNodeType

    code
    getNodeType(): RootNodeType

    Returns

    RootNodeType:
  • getKind

    code
    getKind(): ImportKind

    Returns

    ImportKind:
  • getImportPath

    code
    getImportPath(): string

    Returns

    string:
  • getOriginalPath

    code
    getOriginalPath(): string

    Returns

    string:
  • isTypeOnly

    code
    isTypeOnly(): boolean

    Returns

    boolean:
  • isBareModuleSpecifier

    code
    isBareModuleSpecifier(): boolean

    Returns

    boolean:
  • serialize

    code

    Serializes the reflected node

    serialize(): Import

    Returns

    Import:

    The reflected node as a serializable object