interface TSFunctionType {
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[];
    range?: [number, number];
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "TSFunctionType";
    typeAnnotation?: null | TSTypeAnnotation;
    typeParameters?: null | TSTypeParameterDeclaration;
}

Hierarchy (view full)

Properties

end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "TSFunctionType"
typeAnnotation?: null | TSTypeAnnotation
typeParameters?: null | TSTypeParameterDeclaration