interface TSModuleDeclaration {
    body: TSModuleBlock | TSModuleDeclaration;
    declare?: null | boolean;
    end?: null | number;
    extra?: Record<string, unknown>;
    global?: null | boolean;
    id: Identifier | StringLiteral;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "TSModuleDeclaration";
}

Hierarchy (view full)

Properties

declare?: null | boolean
end?: null | number
extra?: Record<string, unknown>
global?: null | boolean
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "TSModuleDeclaration"