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.
Properties
Section titled “Properties”sourceRange?
Section titled “sourceRange?”
readonlyoptionalsourceRange?:OffsetRange
targets
Section titled “targets”
readonlytargets: readonlyLanguageServerDefinitionTarget[]