~/talk

Advanced TypeScript: elegant solutions to common problems

Talkat jsDay 2017 · 2017-05-10..05-11· [typescript]
slides:none on file

Claim: TypeScript adds compile‑time strong typing and lets ES2016+ features transpile to ES5 while the compiler acts as an IDE service. Demo builds a Wikipedia query class using node-fetch, shows arrow functions removing self hacks, converts callbacks to async/await to shrink code, and wires a success counter that increments at runtime. A simple obsolete decorator logs warnings and a described cache decorator can swap the method for cached results.

AI-written summary · about

  1. 0:00Start
  2. 5:48Strong Typing
  3. 8:37Auto Completion
  4. 19:12Decorators
~/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.