We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c6de2a + cb1ea7b commit 4f27f65Copy full SHA for 4f27f65
src/server/editorServices.ts
@@ -115,6 +115,9 @@ namespace ts.server {
115
readFile: fileName => this.host.readFile(fileName),
116
directoryExists: directoryName => this.host.directoryExists(directoryName)
117
};
118
+ if (this.host.realpath) {
119
+ this.moduleResolutionHost.realpath = path => this.host.realpath(path);
120
+ }
121
}
122
123
private resolveNamesWithLocalCache<T extends Timestamped & { failedLookupLocations: string[] }, R>(
0 commit comments