interface ImportDeclaration {
    leadingComments?: Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    source: Literal;
    specifiers: (
        ImportSpecifier
        | ImportDefaultSpecifier
        | ImportNamespaceSpecifier
    )[];
    trailingComments?: Comment[];
    type: "ImportDeclaration";
}

Hierarchy (View Summary)

Properties

leadingComments?: Comment[]
loc?: null | SourceLocation
range?: [number, number]
source: Literal
specifiers: (
    ImportSpecifier
    | ImportDefaultSpecifier
    | ImportNamespaceSpecifier
)[]
trailingComments?: Comment[]
type: "ImportDeclaration"