feat: add support for TypeScript 3.3 (and drop older versions) (#29004)
https://blogs.msdn.microsoft.com/typescript/2019/01/31/announcing-typescript-3-3/ BREAKING CHANGE: TypeScript 3.1 and 3.2 are no longer supported. Please update your TypeScript version to 3.3 PR Close #29004
This commit is contained in:

committed by
Kara Erickson

parent
9a7f5601fa
commit
75748d6044
@ -44,6 +44,9 @@ export class GeneratedShimsHostWrapper implements ts.CompilerHost {
|
||||
if (delegate.directoryExists !== undefined) {
|
||||
this.directoryExists = (directoryName: string) => delegate.directoryExists !(directoryName);
|
||||
}
|
||||
if (delegate.getDirectories !== undefined) {
|
||||
this.getDirectories = (path: string) => delegate.getDirectories !(path);
|
||||
}
|
||||
}
|
||||
|
||||
resolveTypeReferenceDirectives?:
|
||||
@ -84,7 +87,7 @@ export class GeneratedShimsHostWrapper implements ts.CompilerHost {
|
||||
|
||||
getCurrentDirectory(): string { return this.delegate.getCurrentDirectory(); }
|
||||
|
||||
getDirectories(path: string): string[] { return this.delegate.getDirectories(path); }
|
||||
getDirectories?: (path: string) => string[];
|
||||
|
||||
getCanonicalFileName(fileName: string): string {
|
||||
return this.delegate.getCanonicalFileName(fileName);
|
||||
|
Reference in New Issue
Block a user