interface AssignmentPattern {
    decorators?: null | Decorator[];
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    left: ArrayPattern | Identifier | MemberExpression | ObjectPattern | TSAsExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion;
    loc?: null | SourceLocation;
    optional?: null | boolean;
    range?: [number, number];
    right: Expression;
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "AssignmentPattern";
    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]
right: Expression
start?: null | number
trailingComments?: null | Comment[]
type: "AssignmentPattern"
typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation