parent
1eea2b254e
commit
c397297eef
|
@ -128,7 +128,7 @@ class CustomLanguageServiceHost implements ts.LanguageServiceHost {
|
||||||
constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[],
|
constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[],
|
||||||
private fileRegistry: FileRegistry, private treeInputPath: string) {
|
private fileRegistry: FileRegistry, private treeInputPath: string) {
|
||||||
this.currentDirectory = process.cwd();
|
this.currentDirectory = process.cwd();
|
||||||
this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions);
|
this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions).replace(/\\/g, '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue