summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-30 12:15:21 -0400
committerGitHub <noreply@github.com>2023-03-30 16:15:21 +0000
commitc4f82cab31d1ec09b2bce1f0155f92c7d7bd50e0 (patch)
tree88794a5bffffa78faf05c13be7a892ea44ff9d5c /cli/tsc/compiler.d.ts
parentcc7f5c10156333acae8cf9d004bb859ba5c58115 (diff)
fix(lsp): `textDocument/references` should respect `includeDeclaration` (#18496)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index a1ee45797..b59f6dca8 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -75,7 +75,7 @@ declare global {
| GetNavigationTree
| GetOutliningSpans
| GetQuickInfoRequest
- | GetReferencesRequest
+ | FindReferencesRequest
| GetSignatureHelpItemsRequest
| GetSmartSelectionRange
| GetSupportedCodeFixes
@@ -212,8 +212,8 @@ declare global {
position: number;
}
- interface GetReferencesRequest extends BaseLanguageServerRequest {
- method: "getReferences";
+ interface FindReferencesRequest extends BaseLanguageServerRequest {
+ method: "findReferences";
specifier: string;
position: number;
}