Getting to Know the Template Type Checker
In this talk we will explore how the Angular compiler is capable of type-checking your templates and reporting errors just like you would expect for TypeScript code. You will also learn how to make use of some more advanced features that the template type checker offers, allowing you to write better directives and achieve more type-safety in your templates.
Talk takeaways
Enabling `strictTemplates` allows for more in-depth type-checking of your templates.
Angular directives can specify their template context type using static fields.
Templates are type-checked using generated TypeScript code.
About Joost
Joost is a software engineer from the Netherlands where he works at Blueriq during the day and on the Angular team by night. He has a broad interest in computer science and compilers in particular, which is why he is typically contributing to Angular's compilation pipeline. Since 2018, he has worked on Angular's Ivy compiler, the template type-checker, ngcc, and the new library distribution format.
Learn more about Joost at https://www.blueriq.com/.