diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-30 12:15:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 16:15:21 +0000 |
commit | c4f82cab31d1ec09b2bce1f0155f92c7d7bd50e0 (patch) | |
tree | 88794a5bffffa78faf05c13be7a892ea44ff9d5c /cli/tsc/99_main_compiler.js | |
parent | cc7f5c10156333acae8cf9d004bb859ba5c58115 (diff) |
fix(lsp): `textDocument/references` should respect `includeDeclaration` (#18496)
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index a00b946e2..b8189278c 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -1121,10 +1121,10 @@ delete Object.prototype.__proto__; ), ); } - case "getReferences": { + case "findReferences": { return respond( id, - languageService.getReferencesAtPosition( + languageService.findReferences( request.specifier, request.position, ), |