~/talk

TypeScript Gymnastics: Why Are They So Powerful for You?

Talkat jsday 2025 · 2025-04-07..04-08· [typescript]
slides:none on file

TypeScript techniques get named and shown with working code: a parseUrlParams type that extracts route params at compile time powers a navigate(url, params) example that errors if required params are missing, template literal and infer-based RGB and returnType extraction demonstrate exact-string validation and return/parameter inference, mapped and recursive types build a getByKey that yields nested object paths and a tiny type-safe query builder; result improves IDE hints and catches mismatches but demands substantial type complexity and maintenance time.

AI-written summary · about

  1. 0:00TypeScript's power
  2. 1:04TypeScript benefits teams
  3. 5:18Developer experience magic
  4. 8:57Strict literal types
  5. 13:59Conditional types & inference
  6. 20:49Recursive types & loops
  7. 24:49Utility types for objects
  8. 30:50Type-safe query builders
  9. 33:43Conclusion
~/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.