1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

perf(lsp): replace document registry source cache on update (#23311)

This commit is contained in:
Nayeem Rahman 2024-04-11 02:57:22 +01:00 committed by GitHub
parent 736f73b008
commit 34e1d0cdd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,6 +304,7 @@ delete Object.prototype.__proto__;
/** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot),
),
);
documentRegistrySourceFileCache.set(mapKey, sourceFile);
}
return sourceFile;
},