Real-World Types

Type the everyday code of real apps: pagination, feature flags, config, money, dates, storage and validated data from outside.

  1. 01

    Paginate a List with Typed Pages

    • easy
    • Code
  2. 02

    Check Feature Flags by Known Name

    • easy
    • Code
  3. 03

    Sort Table Rows by a Typed Column

    • easy
    • Code
  4. 04

    List Which Fields Changed, Typed

    • easy
    • Code
  5. 05

    Keep Milliseconds and Seconds Apart

    • easy
    • Code
  6. 06

    Translate Messages by Known Keys

    • medium
    • Code
  7. 07

    Turn Environment Variables into Typed Config

    • medium
    • Code
    • Pro
  8. 08

    Add Up Prices in Whole Cents

    • medium
    • Code
  9. 09

    Read Search Params into a Typed Object

    • medium
    • Code
  10. 10

    Wrap Storage with Typed Keys and Values

    • medium
    • Code
    • Pro
  11. 11

    Check Whether Date Ranges Overlap

    • medium
    • Code
  12. 12

    Total a Cart with Typed Discounts

    • medium
    • Code
  13. 13

    Fetch JSON into a Validated Type

    • hard
    • Code
    • Pro
  14. 14

    Infer Types from a Validation Schema

    • hard
    • Code
    • Pro
  15. 15

    Parse CSV Rows with Typed Columns

    • hard
    • Code