interface TSPropertySignature {
    computed?: boolean;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    key: Expression;
    kind: "get" | "set";
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    optional?: null | boolean;
    range?: [number, number];
    readonly?: null | boolean;
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "TSPropertySignature";
    typeAnnotation?: null | TSTypeAnnotation;
}

Hierarchy (view full)

Properties

computed?: boolean
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
kind: "get" | "set"
leadingComments?: null | Comment[]
loc?: null | SourceLocation
optional?: null | boolean
range?: [number, number]
readonly?: null | boolean
start?: null | number
trailingComments?: null | Comment[]
type: "TSPropertySignature"
typeAnnotation?: null | TSTypeAnnotation