interface RestElement {
    argument: LVal;
    decorators?: null | Decorator[];
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    optional?: null | boolean;
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "RestElement";
    typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation;
}

Hierarchy (view full)

Properties

argument: LVal
decorators?: null | Decorator[]
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
optional?: null | boolean
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "RestElement"
typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation