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.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index a1f4e851c..39afbe884 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -42,6 +42,7 @@ declare global {
type LanguageServerRequest =
| ConfigureRequest
+ | GetAsset
| GetSyntacticDiagnosticsRequest
| GetSemanticDiagnosticsRequest
| GetSuggestionDiagnosticsRequest
@@ -62,6 +63,11 @@ declare global {
compilerOptions: Record<string, any>;
}
+ interface GetAsset extends BaseLanguageServerRequest {
+ method: "getAsset";
+ specifier: string;
+ }
+
interface GetSyntacticDiagnosticsRequest extends BaseLanguageServerRequest {
method: "getSyntacticDiagnostics";
specifier: string;