Interface TypeDefinitionMiddleware

interface TypeDefinitionMiddleware {
    provideTypeDefinition?: (
        this: void,
        document: TextDocument,
        position: Position,
        token: CancellationToken,
        next: ProvideTypeDefinitionSignature,
    ) => ProviderResult<Definition | LocationLink[]>;
}

Properties

provideTypeDefinition?: (
    this: void,
    document: TextDocument,
    position: Position,
    token: CancellationToken,
    next: ProvideTypeDefinitionSignature,
) => ProviderResult<Definition | LocationLink[]>