interface ObjectTypeAnnotation {
    callProperties?: ObjectTypeCallProperty[];
    end?: null | number;
    exact: boolean;
    extra?: Record<string, unknown>;
    indexers?: ObjectTypeIndexer[];
    inexact?: null | boolean;
    innerComments?: null | Comment[];
    internalSlots?: ObjectTypeInternalSlot[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    properties: (ObjectTypeProperty | ObjectTypeSpreadProperty)[];
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "ObjectTypeAnnotation";
}

Hierarchy (view full)

Properties

callProperties?: ObjectTypeCallProperty[]
end?: null | number
exact: boolean
extra?: Record<string, unknown>
indexers?: ObjectTypeIndexer[]
inexact?: null | boolean
innerComments?: null | Comment[]
internalSlots?: ObjectTypeInternalSlot[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "ObjectTypeAnnotation"