provideDefinition
abstract fun provideDefinition(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<JsAny>(source)
Provide the 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.