~/talk

Welcome aboard the Typetanic: Unsinkable Strategies for Advanced TypeScript Types

Talkat WhatTheStack 2024 · on Saturday, 2024-09-14· [typescript, developer-experience]
links:none on file
slides:none on file

Shows concrete TypeScript patterns with live demos: a runtime-safe RemovePassword that uses Omit/ Pick generics so accessing password is a compile error, a signalized Person type that generates getter and setter methods per property, conditional types plus infer-based pattern matching to extract and map fields, a recursive compile-time URL validator implemented as a recursive URL validator type, and notes that pathological repo examples can force the compiler into long or infinite type evaluation.

AI-written summary · about

  1. 0:00Introduction to TypeScript
  2. 1:23JavaScript history and pain points
  3. 5:40TypeScript arrival and impact
  4. 7:49Basics of TypeScript types
  5. 10:24Advanced type features
  6. 19:48Generics and utility types
  7. 20:30Omit and Pick type utilities
  8. 30:51Conditional and infer types
  9. 34:23Advanced type transformations
  10. 37:22Recursive types and validation
  11. 38:52Q&A and compiler limits
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.