summaryrefslogtreecommitdiff
path: root/cli/tsc/99_main_compiler.js
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-01-10 13:16:30 +0000
committerGitHub <noreply@github.com>2024-01-10 13:16:30 +0000
commit0234eb23ddfe0a5ff9402610a2f3bd326c325ec6 (patch)
tree5ad001e999281fa457e7395cb25e899bf0882a1c /cli/tsc/99_main_compiler.js
parent881a62869db13199eff30231d4299d36faf143df (diff)
fix(lsp): implement host.getGlobalTypingsCacheLocation() (#21882)
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r--cli/tsc/99_main_compiler.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index 5009807e1..0cb917f96 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -545,6 +545,9 @@ delete Object.prototype.__proto__;
getCachedExportInfoMap() {
return exportMapCache;
},
+ getGlobalTypingsCacheLocation() {
+ return undefined;
+ },
getSourceFile(
specifier,
languageVersion,
@@ -1020,6 +1023,7 @@ delete Object.prototype.__proto__;
debug(ts.formatDiagnostics(errors, host));
}
compilationSettings = options;
+ moduleSpecifierCache.clear();
return respond(id, true);
}
case "$getSupportedCodeFixes": {