build: TypeScript 3.6 compatibility. (#32908)
This PR updates Angular to compile with TypeScript 3.6 while retaining compatibility with TS3.5. We achieve this by inserting several `as any` casts for compatiblity around `ts.CompilerHost` APIs. PR Close #32908
This commit is contained in:
@ -81,7 +81,9 @@ export interface DirectiveType<T> extends Type<T> {
|
||||
ngFactoryDef: () => T;
|
||||
}
|
||||
|
||||
export const enum DirectiveDefFlags {ContentQuery = 0b10}
|
||||
export enum DirectiveDefFlags {
|
||||
ContentQuery = 0b10
|
||||
}
|
||||
|
||||
/**
|
||||
* A subclass of `Type` which has a static `ngPipeDef`:`PipeDef` field making it
|
||||
|
Reference in New Issue
Block a user