summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-22 15:36:07 -0400
committerGitHub <noreply@github.com>2022-10-22 15:36:07 -0400
commit8864a1d10fdd515d52fd436fc86af0b72656bfbd (patch)
treebae921f7c6c5188378550e3066f493198e6e6046 /cli/tsc
parent15744e2a0c8327a73af64fac03f43f5e72f264bb (diff)
fix(lsp): regression - error when removing file (#16388)
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/99_main_compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index 7929d3b44..5ebcf6be1 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -312,7 +312,7 @@ delete Object.prototype.__proto__;
releaseDocumentWithKey(path, key, _scriptKind, _impliedNodeFormat) {
const mapKey = path + key;
- documentRegistrySourceFileCache.remove(mapKey);
+ documentRegistrySourceFileCache.delete(mapKey);
},
reportStats() {