provideTypeDefinition

abstract fun provideTypeDefinition(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<ERROR CLASS: Symbol not found for 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.