mirror of
https://github.com/denoland/deno
synced 2024-10-04 07:09:20 +00:00
perf(lsp): replace document registry source cache on update (#23311)
This commit is contained in:
parent
736f73b008
commit
34e1d0cdd4
|
@ -304,6 +304,7 @@ delete Object.prototype.__proto__;
|
|||
/** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot),
|
||||
),
|
||||
);
|
||||
documentRegistrySourceFileCache.set(mapKey, sourceFile);
|
||||
}
|
||||
return sourceFile;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue