~/talk

Getting to Know the Template Type Checker

TalkinDutchat NG-BE 2021 · 2021-12-02..12-03· [angular, typescript]
slides:none on file

Angular’s template type checker generates per-template TypeScript "type-check blocks" so template bindings are verified by the TypeScript compiler instead of only at runtime. The talk describes how the compiler and TypeScript language services emit .ts artifacts and editor integration to surface missing properties and incorrect bindings at compile time, and covers configurable strictTemplate options along with techniques like context guards, strong-field patterns, and setter-patterns proven to work in downstream projects.

AI-written summary · about

  1. 0:00Template type checker intro
  2. 2:07Checker capabilities
  3. 5:01Template checking evolution
  4. 8:55Strict options impact
  5. 12:47Template context objects
  6. 17:44Input expressions edge cases
  7. 21:38Type-safe template code
  8. 27:10Debugging type inference
  9. 29:58Developer tools
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.