Description
Coding
TypeScript foundations
Build on basic JavaScript with 32 lessons about types, safe functions, structured data, and practical TypeScript projects.
Transform types, design precise APIs, handle recursive data, and build a typed task reducer.
- 1
Literal configurations
Check configuration shapes while preserving useful literal types.
18 min
- 2
Mapped types and modifiers
Transform every property in a type without repeating its keys.
18 min
- 3
Conditional types
Select types with conditions and recognize union distribution.
18 min
- 4
Inferring function contracts
Derive argument tuples and result types from an existing function.
18 min
- 5
Template literals and key remapping
Derive related string keys while preserving the corresponding property types.
18 min
- 6
Overloads and correlated tuples
Describe related inputs without losing their return or payload types.
18 min
- 7
Typed event contracts
Derive correlated event messages and handlers from one event map.
18 min
- 8
Designing generic APIs
Use sensible generic defaults and preserve types through a reusable store.
18 min
- 9
Recursive data with runtime limits
Traverse a recursive union while bounding recursion depth.
18 min
- 10
Project: a typed task reducer
Combine correlated actions, immutable updates, and exhaustive checking.
25 min