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.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index da713a1bd..7b8340093 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -64,6 +64,7 @@ declare global {
| GetAssets
| GetApplicableRefactors
| GetEditsForRefactor
+ | GetEditsForFileRename
| GetCodeFixes
| GetCombinedCodeFix
| GetCompletionDetails
@@ -127,6 +128,14 @@ declare global {
actionName: string;
}
+ interface GetEditsForFileRename extends BaseLanguageServerRequest {
+ method: "getEditsForFileRename";
+ old_specifier: string;
+ new_specifier: string;
+ formatCodeSettings: ts.FormatCodeSettings;
+ preferences?: ts.UserPreferences;
+ }
+
interface GetCodeFixes extends BaseLanguageServerRequest {
method: "getCodeFixes";
specifier: string;