requestDefinition
requestDefinition(
client,request):Promise<DefinitionResult>
Issue a textDocument/definition request and normalize the response
into a flat list of LanguageServerDefinitionTargets. The raw LSP
union (Location, Location[], LocationLink[], or null) is hidden
from callers so higher-level orchestration can work with a single shape.
Parameters
Section titled “Parameters”client
Section titled “client”request
Section titled “request”Returns
Section titled “Returns”Promise<DefinitionResult>