KC's Workspace
    Preparing search index...
    interface ImportDeclaration {
        _jsdocContainerBrand: any;
        _statementBrand: any;
        assertClause?: AssertClause;
        attributes?: ImportAttributes;
        end: number;
        flags: NodeFlags;
        importClause?: ImportClause;
        kind: ImportDeclaration;
        modifiers?: NodeArray<ModifierLike>;
        moduleSpecifier: Expression;
        parent: SourceFile | ModuleBlock;
        pos: number;
        forEachChild<T>(
            cbNode: (node: Node) => T | undefined,
            cbNodeArray?: (nodes: NodeArray<Node>) => T | undefined,
        ): T | undefined;
        getChildAt(index: number, sourceFile?: SourceFile): Node;
        getChildCount(sourceFile?: SourceFile): number;
        getChildren(sourceFile?: SourceFile): readonly Node[];
        getEnd(): number;
        getFirstToken(sourceFile?: SourceFile): Node | undefined;
        getFullStart(): number;
        getFullText(sourceFile?: SourceFile): string;
        getFullWidth(): number;
        getLastToken(sourceFile?: SourceFile): Node | undefined;
        getLeadingTriviaWidth(sourceFile?: SourceFile): number;
        getSourceFile(): SourceFile;
        getStart(sourceFile?: SourceFile, includeJsDocComment?: boolean): number;
        getText(sourceFile?: SourceFile): string;
        getWidth(sourceFile?: SourceFileLike): number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _jsdocContainerBrand: any
    _statementBrand: any
    assertClause?: AssertClause
    attributes?: ImportAttributes
    end: number
    flags: NodeFlags
    importClause?: ImportClause
    modifiers?: NodeArray<ModifierLike>
    moduleSpecifier: Expression

    If this is not a StringLiteral it will be a grammar error.

    pos: number

    Methods

    • Type Parameters

      • T

      Parameters

      • cbNode: (node: Node) => T | undefined
      • OptionalcbNodeArray: (nodes: NodeArray<Node>) => T | undefined

      Returns T | undefined

    • Parameters

      • OptionalsourceFile: SourceFile
      • OptionalincludeJsDocComment: boolean

      Returns number