provideTypeDefinition

abstract external fun provideTypeDefinition(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<JsAny>(source)

Provide the type definition of the symbol at the given position and document.

Parameters

document

The document in which the command was invoked.

position

The position at which the command was invoked.

token

A cancellation token.