Guides
Longer-form walkthroughs
Code on one side, why-it-works on the other.
TypeScript Narrowing, by example
Four ways TypeScript narrows a union — typeof, in, instanceof, and discriminants.
typescripttypesnarrowingResult types in TypeScript
A small, opinionated take on representing failure as data — and when not to.
typescripttypeserrorsAbortController, by example
Cancel fetches, timers, and long-running work with one signal — the way the platform actually wants you to.
javascriptbrowserasync