~/talk

Typescript. Runtime. And In Between.

Talkat NodeTLV 2023 · on Wednesday, 2023-06-28· [typescript, developer-experience]
slides:none on file

Typescript erases types at transpile time so compile-time checks don’t prevent runtime shape errors; the talk shows the transpiler producing an AST and emitting JS + .d.ts files. Zod is used to parse and validate runtime values (parse throws on mismatch, safeParse returns { success, data }), to validate env vars via extended process types, and to create nominal-like types with zod's brand creates nominal types so functions reject mismatched primitives.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44TypeScript's limitations
  3. 3:55Runtime vs type space
  4. 7:52Zod for runtime validation
  5. 11:23Nominal typing with Zod
  6. 14:14Summary and Q&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.