Skip to content

Commit

Permalink
perf(lsp): replace document registry source cache on update (#23311)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Apr 11, 2024
1 parent 736f73b commit 34e1d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/tsc/99_main_compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ delete Object.prototype.__proto__;
/** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot),
),
);
documentRegistrySourceFileCache.set(mapKey, sourceFile);
}
return sourceFile;
},
Expand Down

0 comments on commit 34e1d0c

Please sign in to comment.