interface ArrayPattern {
    decorators?: null | Decorator[];
    elements: (null | ArrayPattern | AssignmentPattern | Identifier | MemberExpression | ObjectPattern | RestElement | TSAsExpression | TSNonNullExpression | TSParameterProperty | TSSatisfiesExpression | TSTypeAssertion)[];
    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: "ArrayPattern";
    typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation;
}

Hierarchy (view full)

Properties

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: "ArrayPattern"
typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation