Back to All Events

Joost Koehoorn

  • Holiday Inn Gent Expo 3 Maaltekouter Saint Denijs-westrem, Vlaanderen, 9051 Belgium (map)

Getting to Know the Template Type Checker

joostbanner.png

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

  1. Enabling `strictTemplates` allows for more in-depth type-checking of your templates.

  2. Angular directives can specify their template context type using static fields.

  3. Templates are type-checked using generated TypeScript code.

joost.png

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/.

Earlier Event: December 3
Pete Bacon Darwin
Later Event: December 3
Lightning Talk - Craig Spence