Skip to content

Commit 85186f4

Browse files
committed
typescript.sys should be compiler.sys
#379
1 parent 5d2e0ad commit 85186f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/servicesHost.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ function makeServicesHost(
5757
* getDirectories is also required for full import and type reference completions.
5858
* Without it defined, certain completions will not be provided
5959
*/
60-
getDirectories: typescript.sys ? (<any> typescript.sys).getDirectories : undefined,
60+
getDirectories: compiler.sys ? (<any> compiler.sys).getDirectories : undefined,
6161

6262
/**
6363
* For @types expansion, these two functions are needed.
6464
*/
65-
directoryExists: typescript.sys ? (<any> typescript.sys).directoryExists : undefined,
65+
directoryExists: compiler.sys ? (<any> compiler.sys).directoryExists : undefined,
6666
getCurrentDirectory: () => process.cwd(),
6767

6868
getCompilationSettings: () => compilerOptions,

0 commit comments

Comments
 (0)