~/talk

TypeScript: Gradual, Structural, Dynamic, Static

Talkat NG-BE 2021 Β· 2021-12-02..12-03Β· [typescript]
slides:none on file

Builds a TypeScript type layer over an Express-style API that compiles and flags real bugs: typos in param names, wrong HTTP methods, and invalid status numbers. Uses generic types and string template literal types to infer route parameters and pipe them into Request/Response shapes, and enumerates status codes 100–599 (about 500 explicit values) so calls autocomplete and fail fast. The example types are recursive, practical, and work against plain JavaScript runtime code.

AI-written summary Β· about

  1. 0:00Introduction and setup
  2. 3:00Analyzing the API
  3. 5:12Defining strong types
  4. 9:11Refining with literal types
  5. 13:18Utilizing generics
  6. 17:17Advanced template literals
  7. 21:59Advanced parameter parsing
  8. 27:00Conclusion and wrap-up
~/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.