diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-04-11 02:57:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 02:57:22 +0100 |
commit | 34e1d0cdd4b7a00d48dee940024a7a695aa27f48 (patch) | |
tree | 2a95d581873ff8d91600be92784c42733a176c63 | |
parent | 736f73b008c3f0354b870b70b8d494983046b0f7 (diff) |
perf(lsp): replace document registry source cache on update (#23311)
-rw-r--r-- | cli/tsc/99_main_compiler.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index ea70343be..22e2a3641 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -304,6 +304,7 @@ delete Object.prototype.__proto__; /** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot), ), ); + documentRegistrySourceFileCache.set(mapKey, sourceFile); } return sourceFile; }, |