~/talk

Advanced TypeScript

Talkat Connect.Tech 2024 · 2024-11-18..11-20· [typescript]
links:none on file
slides:none on file

Shows how to use mapped and conditional types to build concrete tools: creates SomePartial/SomeRequired utilities that make only selected keys optional or required, demonstrates converting an array/constants tuple to a union via Tuple[number], and explains keyof plus Exclude/Extract to avoid pulling array prototype methods into unions. Implements a type‑safe lens that produces a nested key union of every reachable path and a reusable sort that accepts any nested key and sorts arrays by nested properties with full compile‑time intellisense.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Union types explained
  3. 9:20Built-in utility types
  4. 23:21Creating custom utility types
  5. 28:42Real-world type-safe sort function
  6. 36:13Type-safe lenses with mapped types
  7. 46:17Q&A and closing
~/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.