interface FunctionTypeAnnotation {
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    params: FunctionTypeParam[];
    range?: [number, number];
    rest?: null | FunctionTypeParam;
    returnType: FlowType;
    start?: null | number;
    this?: null | FunctionTypeParam;
    trailingComments?: null | Comment[];
    type: "FunctionTypeAnnotation";
    typeParameters?: null | TypeParameterDeclaration;
}

Hierarchy (view full)

Properties

end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
rest?: null | FunctionTypeParam
returnType: FlowType
start?: null | number
this?: null | FunctionTypeParam
trailingComments?: null | Comment[]
type: "FunctionTypeAnnotation"
typeParameters?: null | TypeParameterDeclaration