~/talk

Typescript meta programming from 0 to 100

Talkat ng-conf 2022 · 2022-08-31..09-02· [typescript]
slides:none on file

A demo shows concrete claims and working code: TypeScript compiler metadata plus reflect-metadata and simple decorators let an injectable decorator record constructor dependencies so a small recursive injector resolves instances at runtime; a 4.5 kilobyte bundle example emphasizes low overhead. The build includes a provider override (a stub replacement) and an Express-style controller router generated from method decorators; the live coding compiles and runs, proving the techniques work.

AI-written summary · about

  1. 0:00Introduction
  2. 2:39Speaker background
  3. 4:05Meta programming basics
  4. 6:36Meta programming manual
  5. 7:17Dependency injection with decorators
  6. 13:40Advanced DI with providers
  7. 15:50API controllers with decorators
  8. 20:34Reflection and metadata summary
~/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.