interface ObjectPattern {
    decorators?: null | Decorator[];
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    optional?: null | boolean;
    properties: (ObjectProperty | RestElement)[];
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "ObjectPattern";
    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
properties: (ObjectProperty | RestElement)[]
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "ObjectPattern"
typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation