~/talk

A Journey Through Typing Loopback 3

Talkat TSConf 2020 · on Friday, 2020-10-09· [typescript]

A hands‑on sequence that actually types LoopBack 3 rather than rehashing theory: test‑driven type work using tsd, incremental commits and git tags, and a typed repo that turns red tests green at each checkpoint. It implements models, instances, filters, relations (including multi‑include), remote method signatures, and converts string literal arg descriptors into real TypeScript types using mapped types and conditional types. The workshop follows 14 step incremental exercises and finishes with working typings.

AI-written summary · about

  1. 0:00Start
  2. 1:01Purpose of the workshop
  3. 5:41Fake car business we're implementing
  4. 6:41For a given business model (like a "User")
  5. 10:44models.User.find()
  6. 16:53simple filters
  7. 23:43nested filters
  8. 24:26Partial won't be enough. You will need mapped types!
  9. 34:03instance methods
  10. 42:56naive "include"
  11. 46:43Step 9 - improved "include"
  12. 58:53Step 11 - accurate relations
~/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.