~/talk

Into The Unknown

Talkat jsday 2022 · 2022-04-21..04-22· [typescript, javascript]
slides:none on file

Library implements two functions freeze and thaw and claims compile‑time and runtime safety: inputs use unknown vs any plus a type guard/assertion that throws, never to rule out unfreezable objects, generics and intersection types to produce a Frozen<T>, and a conditional infer in conditional types to extract the original T for thaw. The library is built and used end‑to‑end — Olaf gets frozen then thawed — so the approach demonstrably works.

AI-written summary · about

  1. 0:00Welcome
  2. 1:56Reindeer’s magical idea
  3. 4:31Freeze and thaw library
  4. 8:05Dangers of the any type
  5. 12:36Unknown and type guards
  6. 16:11Freezable input types
  7. 19:46Frozen type with generics
  8. 22:19Testing with Kristoff
  9. 23:25Accidental freezing of Olaf
  10. 24:28Thaw function types
  11. 26:13Conditional type extraction
  12. 29:45Saving Olaf with inference
  13. 31:08Reflecting on adventure
  14. 33:58Q&A
~/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.