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 99748a2 commit 5c498cdCopy full SHA for 5c498cd
src/services/shims.ts
@@ -61,7 +61,7 @@ namespace ts {
61
getLocalizedDiagnosticMessages(): string;
62
getCancellationToken(): HostCancellationToken;
63
getCurrentDirectory(): string;
64
- getDirectories(path: string): string[];
+ getDirectories(path: string): string;
65
getDefaultLibFileName(options: string): string;
66
getNewLine?(): string;
67
getProjectVersion?(): string;
@@ -404,7 +404,7 @@ namespace ts {
404
}
405
406
public getDirectories(path: string): string[] {
407
- return this.shimHost.getDirectories(path);
+ return JSON.parse(this.shimHost.getDirectories(path));
408
409
410
public getDefaultLibFileName(options: CompilerOptions): string {
0 commit comments