Skip to content

DefinitionResult

DefinitionResult = object

Normalized response from requestDefinition. The LSP protocol permits a single Location, an array of Location, or an array of LocationLink (or null); callers should not have to care which shape was returned, so the raw result is collapsed into a flat list of resolvable targets.

readonly optional sourceRange?: OffsetRange


readonly targets: readonly LanguageServerDefinitionTarget[]