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