interface VariableDeclaration {
    declarations: VariableDeclarator[];
    declare?: null | boolean;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    kind: "var" | "let" | "const" | "using" | "await using";
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "VariableDeclaration";
}

Hierarchy (view full)

Properties

declarations: VariableDeclarator[]
declare?: null | boolean
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
kind: "var" | "let" | "const" | "using" | "await using"
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "VariableDeclaration"