We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5291209 commit f4f60cdCopy full SHA for f4f60cd
lib/languageclient.ts
@@ -343,7 +343,9 @@ export class LanguageClientConnection extends EventEmitter {
343
* symbol are required.
344
* @returns A {Promise} containing either a single {Location} or an {Array} of many {Location}s.
345
*/
346
- public gotoDefinition(params: lsp.TextDocumentPositionParams): Promise<lsp.Location | lsp.Location[]> {
+ public gotoDefinition(
347
+ params: lsp.TextDocumentPositionParams
348
+ ): Promise<lsp.Location | lsp.Location[] | lsp.LocationLink[] | null> {
349
return this._sendRequest("textDocument/definition", params)
350
}
351
0 commit comments