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

fix(lsp): implement host.getGlobalTypingsCacheLocation() (#21882)

This commit is contained in:
Nayeem Rahman 2024-01-10 13:16:30 +00:00 committed by GitHub
parent 881a62869d
commit 0234eb23dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -545,6 +545,9 @@ delete Object.prototype.__proto__;
getCachedExportInfoMap() { getCachedExportInfoMap() {
return exportMapCache; return exportMapCache;
}, },
getGlobalTypingsCacheLocation() {
return undefined;
},
getSourceFile( getSourceFile(
specifier, specifier,
languageVersion, languageVersion,
@ -1020,6 +1023,7 @@ delete Object.prototype.__proto__;
debug(ts.formatDiagnostics(errors, host)); debug(ts.formatDiagnostics(errors, host));
} }
compilationSettings = options; compilationSettings = options;
moduleSpecifierCache.clear();
return respond(id, true); return respond(id, true);
} }
case "$getSupportedCodeFixes": { case "$getSupportedCodeFixes": {