summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
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 {