interface ClassAccessorProperty {
    abstract?: null | boolean;
    accessibility?: null | "public" | "private" | "protected";
    computed: boolean;
    declare?: null | boolean;
    decorators?: null | Decorator[];
    definite?: null | boolean;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    key: PrivateName | Expression;
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    optional?: null | boolean;
    override?: boolean;
    range?: [number, number];
    readonly?: null | boolean;
    start?: null | number;
    static: boolean;
    trailingComments?: null | Comment[];
    type: "ClassAccessorProperty";
    typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation;
    value?: null | Expression;
    variance?: null | Variance;
}

Hierarchy (view full)

Properties

abstract?: null | boolean
accessibility?: null | "public" | "private" | "protected"
computed: boolean
declare?: null | boolean
decorators?: null | Decorator[]
definite?: null | boolean
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
optional?: null | boolean
override?: boolean
range?: [number, number]
readonly?: null | boolean
start?: null | number
static: boolean
trailingComments?: null | Comment[]
type: "ClassAccessorProperty"
typeAnnotation?: null | Noop | TSTypeAnnotation | TypeAnnotation
value?: null | Expression
variance?: null | Variance