mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00: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),
|
/** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
documentRegistrySourceFileCache.set(mapKey, sourceFile);
|
||||||
}
|
}
|
||||||
return sourceFile;
|
return sourceFile;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue