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.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index 949d98ee0..ff2e59e8e 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -47,6 +47,8 @@ declare global {
| ConfigureRequest
| FindRenameLocationsRequest
| GetAsset
+ | GetApplicableRefactors
+ | GetEditsForRefactor
| GetCodeFixes
| GetCombinedCodeFix
| GetCompletionDetails
@@ -92,6 +94,21 @@ declare global {
specifier: string;
}
+ interface GetApplicableRefactors extends BaseLanguageServerRequest {
+ method: "getApplicableRefactors";
+ specifier: string;
+ range: ts.TextRange;
+ kind: string;
+ }
+
+ interface GetEditsForRefactor extends BaseLanguageServerRequest {
+ method: "getEditsForRefactor";
+ specifier: string;
+ range: ts.TextRange;
+ refactorName: string;
+ actionName: string;
+ }
+
interface GetCodeFixes extends BaseLanguageServerRequest {
method: "getCodeFixes";
specifier: string;