~/talk

Advanced TypeScript

Talkat NG Poland 2018 · on Friday, 2018-11-16· [typescript, angular]
slides:none on file

Covers concrete TypeScript recipes: a generic List built around a Pizza class, using typeof person to lift literal types, using keyof to produce a union of property names, and a typed getProp pattern that enforces keys with K extends keyof T so misspellings surface and return types are inferred. Walks through mapped types—Partial, Readonly, Pick, Record—and shows how Object.freeze and JSON/stringify typings flow through generics in VS Code, all working end-to-end.

AI-written summary · about

  1. 0:00Intro
  2. 1:08Generics
  3. 13:47Map Types
  4. 14:15Partial
  5. 17:41ReadOnly
  6. 19:45Reuse
~/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.