interface TypeParameter {
    bound?: null | TypeAnnotation;
    default?: null | FlowType;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    name: string;
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "TypeParameter";
    variance?: null | Variance;
}

Hierarchy (view full)

Properties

bound?: null | TypeAnnotation
default?: null | FlowType
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
name: string
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "TypeParameter"
variance?: null | Variance