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.
1 parent 811962b commit fc2fe00Copy full SHA for fc2fe00
tools/@angular/tsc-wrapped/src/compiler_host.ts
@@ -22,6 +22,8 @@ export abstract class DelegatingHost implements ts.CompilerHost {
22
getDefaultLibLocation = () => this.delegate.getDefaultLibLocation();
23
writeFile: ts.WriteFileCallback = this.delegate.writeFile;
24
getCurrentDirectory = () => this.delegate.getCurrentDirectory();
25
+ getDirectories = (path: string): string[] =>
26
+ (this.delegate as any).getDirectories?(this.delegate as any).getDirectories(path): [];
27
getCanonicalFileName = (fileName: string) => this.delegate.getCanonicalFileName(fileName);
28
useCaseSensitiveFileNames = () => this.delegate.useCaseSensitiveFileNames();
29
getNewLine = () => this.delegate.getNewLine();
0 commit comments