~/talk

Advanced TypeScript

Talkat JSWorld Conference 2021 · 2021-02-22..02-27· [typescript]
links:none on file
slides:none on file

Workshop covers practical TypeScript mechanics and outcomes: Conditional types with infer used to filter unions, Generics that track selected fields through a chainable SQL‑query‑builder type so run() returns a correctly typed Promise, mapped and template literal types (TypeScript 4.1) to generate key/name combinations, plus keyof typeof, utility types (Partial/Record/Pick/Omit) and decorators that replace descriptors or wrap methods for timing. Examples show actual code patterns and a working typed query builder.

AI-written summary · about

  1. 0:00Beginning
  2. 4:16Interfaces vs Type aliases
  3. 8:17Conditional types
  4. 18:24Type manipulation
  5. 35:09Utility types
  6. 51:46Generics
  7. 1:12:42Decorators
~/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.