~/talk

2 hour Typescript Workshop

Talkat Commit Your Code 2024 · 2024-12-05..12-06· [typescript]
slides:none on file

Live coding in Visual Studio Code with a GitHub repo and slides, the workshop shows concrete patterns: structural typing examples, a generic array filter and a constrained getSimilarItems that returns the same subtype, discriminated unions and narrowing, template-literal path plucks using as const and infer U, mapped types that rename keys to getters, and brief React typing. Demos pause for HDMI/audio hiccups; most examples run and the repo contains the finished code.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 1:05Workshop setup
  3. 10:40TypeScript fundamentals
  4. 21:31Type inference basics
  5. 31:57Generics in TypeScript
  6. 42:07Type unions and narrowing
  7. 1:01:59Conditional types
  8. 1:21:55Template literal types
  9. 1:30:28Variance and mapped types
  10. 1:41:34Interfaces vs types
~/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.