interface ObjectTypeProperty {
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    key: Identifier | StringLiteral;
    kind: "get" | "init" | "set";
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    method: boolean;
    optional: boolean;
    proto: boolean;
    range?: [number, number];
    start?: null | number;
    static: boolean;
    trailingComments?: null | Comment[];
    type: "ObjectTypeProperty";
    value: FlowType;
    variance?: null | Variance;
}

Hierarchy (view full)

Properties

end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
kind: "get" | "init" | "set"
leadingComments?: null | Comment[]
loc?: null | SourceLocation
method: boolean
optional: boolean
proto: boolean
range?: [number, number]
start?: null | number
static: boolean
trailingComments?: null | Comment[]
type: "ObjectTypeProperty"
value: FlowType
variance?: null | Variance