🚧 Still under progress. Soon will be finished.

NamespaceExportNode

CLASS code

Description

Represents the reflected node of a namespace export declaration. For example: export * as bar from './foo.js'

Methods

  • getName

    code
    getName(): string

    Returns

    string:
  • getOriginalName

    code
    getOriginalName(): string

    Returns

    string:
  • getContext

    code
    getContext(): ProjectContext

    Returns

    ProjectContext:
  • getKind

    code
    getKind(): ExportKind

    Returns

    ExportKind:
  • getNodeType

    code
    getNodeType(): RootNodeType

    Returns

    RootNodeType:
  • getModule

    code
    getModule(): string

    Returns

    string:
  • getTSNode

    code
    getTSNode(): ExportDeclaration

    Returns

    ExportDeclaration:
  • isTypeOnly

    code
    isTypeOnly(): boolean

    Returns

    boolean:
  • serialize

    code

    Serializes the reflected node

    serialize(): Export

    Returns

    Export:

    The reflected node as a serializable object