summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-09-18 20:48:32 +0100
committerGitHub <noreply@github.com>2023-09-18 20:48:32 +0100
commit86c04f43e0eda139a262c4f2e106e9b11e8d7da8 (patch)
tree71e8661fdaf7ac0e677707d76d6c82d2e0d1dade /cli/tsc/compiler.d.ts
parentf7ba7013045fc0629092ea4e07ce5c768a7ee95f (diff)
fix(lsp): pass quote preference to tsc (#20547)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index 7b8340093..30e433405 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -116,6 +116,7 @@ declare global {
method: "getApplicableRefactors";
specifier: string;
range: ts.TextRange;
+ preferences?: ts.UserPreferences;
kind: string;
}
@@ -126,12 +127,13 @@ declare global {
range: ts.TextRange;
refactorName: string;
actionName: string;
+ preferences?: ts.UserPreferences;
}
interface GetEditsForFileRename extends BaseLanguageServerRequest {
method: "getEditsForFileRename";
- old_specifier: string;
- new_specifier: string;
+ oldSpecifier: string;
+ newSpecifier: string;
formatCodeSettings: ts.FormatCodeSettings;
preferences?: ts.UserPreferences;
}
@@ -143,6 +145,7 @@ declare global {
endPosition: number;
errorCodes: string[];
formatCodeSettings: ts.FormatCodeSettings;
+ preferences: ts.UserPreferences;
}
interface GetCombinedCodeFix extends BaseLanguageServerRequest {
@@ -151,6 +154,7 @@ declare global {
// deno-lint-ignore ban-types
fixId: {};
formatCodeSettings: ts.FormatCodeSettings;
+ preferences: ts.UserPreferences;
}
interface GetCompletionDetails extends BaseLanguageServerRequest {