~/talk

A Deep Dive into Advanced TypeScript: A Live Coding Expedition

Talkat Øredev 2024 · 2024-11-06..11-08· [typescript]
slides:none on file

Live-coded TypeScript that actually compiles: a recursive Tuple generator that builds fixed‑length readonly tuples until the compiler recursion cap (~999) hits, map + template‑literal types that auto‑produce margin/padding permutations and strict string pattern types, a small CSS validator in TypeScript and an arithmetic‑expression validator that rejects invalid forms at type level, exhaustive switch checks using never/satisfies for runtime + compile‑time safety, and branded types with assertion type‑guards; code and examples live on the uploader's GitHub.

AI-written summary · about

  1. 0:00Advanced TypeScript patterns
  2. 1:23Dynamic event handlers with mapped types
  3. 5:39String formats with template literal types
  4. 7:05CSS validation with mapped and literal types
  5. 10:11Compile-time safety with never type
  6. 15:49Exhaustive type checking with satisfies
  7. 16:10Recursive types for fixed-length arrays
  8. 22:27Type safety with branded types
  9. 31:41Domain-specific validation with merged types
  10. 33:51Q&A: never and intrinsic types
  11. 39:03Q&A: branded types and validation
  12. 40:47Q&A: TypeScript tools and plugins
  13. 41:30Q&A: type inference and utilities
  14. 42:12Closing remarks
~/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.