Type-checking templates in Angular ViewEngine and Ivy

added by JavaScript Kicks
7/11/2019 7:11:00 AM

376 Views

Remember, in ViewEngine TCBs are placed in NgModule factories. TypeScript has to re-parse and re-type-check those files when processing the type-checking program. The new Ivy compiler uses a far more performant approach. It augments the program with a single synthetic __ng_typecheck__.ts file, into which all TCBs are generated.


0 comments