Real-World Types
Type the everyday code of real apps: pagination, feature flags, config, money, dates, storage and validated data from outside.
- 01
Paginate a List with Typed Pages
- easy
- Code
- 02
Check Feature Flags by Known Name
- easy
- Code
- 03
Sort Table Rows by a Typed Column
- easy
- Code
- 04
List Which Fields Changed, Typed
- easy
- Code
- 05
Keep Milliseconds and Seconds Apart
- easy
- Code
- 06
Translate Messages by Known Keys
- medium
- Code
- 07
Turn Environment Variables into Typed Config
- medium
- Code
- Pro
- 08
Add Up Prices in Whole Cents
- medium
- Code
- 09
Read Search Params into a Typed Object
- medium
- Code
- 10
Wrap Storage with Typed Keys and Values
- medium
- Code
- Pro
- 11
Check Whether Date Ranges Overlap
- medium
- Code
- 12
Total a Cart with Typed Discounts
- medium
- Code
- 13
Fetch JSON into a Validated Type
- hard
- Code
- Pro
- 14
Infer Types from a Validation Schema
- hard
- Code
- Pro
- 15
Parse CSV Rows with Typed Columns
- hard
- Code