diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-01-10 13:16:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 13:16:30 +0000 |
commit | 0234eb23ddfe0a5ff9402610a2f3bd326c325ec6 (patch) | |
tree | 5ad001e999281fa457e7395cb25e899bf0882a1c /cli/tsc/99_main_compiler.js | |
parent | 881a62869db13199eff30231d4299d36faf143df (diff) |
fix(lsp): implement host.getGlobalTypingsCacheLocation() (#21882)
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 4 |
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": { |