mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
fix(lsp): implement missing ts server host apis (#23131)
This commit is contained in:
parent
c53b720656
commit
524e451bfb
@ -544,6 +544,19 @@ delete Object.prototype.__proto__;
|
||||
getGlobalTypingsCacheLocation() {
|
||||
return undefined;
|
||||
},
|
||||
// @ts-ignore Undocumented method.
|
||||
toPath(fileName) {
|
||||
// @ts-ignore Undocumented function.
|
||||
ts.toPath(
|
||||
fileName,
|
||||
this.getCurrentDirectory(),
|
||||
this.getCanonicalFileName(fileName),
|
||||
);
|
||||
},
|
||||
// @ts-ignore Undocumented method.
|
||||
watchNodeModulesForPackageJsonChanges() {
|
||||
return { close() {} };
|
||||
},
|
||||
getSourceFile(
|
||||
specifier,
|
||||
languageVersion,
|
||||
|
Loading…
Reference in New Issue
Block a user