A Journey Through Typing Loopback 3
summary
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
chapters (12)
- 0:00Start
- 1:01Purpose of the workshop
- 5:41Fake car business we're implementing
- 6:41For a given business model (like a "User")
- 10:44models.User.find()
- 16:53simple filters
- 23:43nested filters
- 24:26Partial won't be enough. You will need mapped types!
- 34:03instance methods
- 42:56naive "include"
- 46:43Step 9 - improved "include"
- 58:53Step 11 - accurate relations
related talks
48mDeep Dive into Advanced TypeScript: A Live Coding Expedition
59mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
44mA Deep Dive Into Advanced Typescript: A Live Coding Expedition
44mA Deep Dive Into Advanced TypeScript: A Live-Coding Expedition
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
43mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
31mTypeScript for JavaScripties
19mHow Typed is Your Framework?
