@servicenow/sdk - v4.4.1
    Preparing search index...

    Interface ImportDeclaration

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

    Hierarchy (View Summary)

    Index

    Properties

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

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

    pos: number

    Methods

    • Type Parameters

      • T

      Parameters

      Returns T | undefined

    • Parameters

      Returns number

    • Returns number

    • Returns number

    • Parameters

      Returns string

    • Returns number

    • Parameters

      • OptionalsourceFile: tsc.SourceFile
      • OptionalincludeJsDocComment: boolean

      Returns number

    • Parameters

      Returns string

    • Parameters

      Returns number