mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
perf(lsp): replace document registry source cache on update (#23311)
This commit is contained in:
parent
736f73b008
commit
34e1d0cdd4
1 changed files with 1 additions and 0 deletions
|
@ -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