TypeScript

JavaScript with types: what the compiler checks, unions, generics and typing data you don’t control.

  1. 01

    What TypeScript Checks

    • easy
  2. 02

    Any, Unknown and Never

    • easy
    • Pro
  3. 03

    Model Shapes with Unions

    • easy
    • Pro
  4. 04

    Type Inference

    • easy
    • Pro
  5. 05

    Optional and Nullable Values

    • easy
    • Pro
  6. 06

    Interfaces or Type Aliases

    • easy
    • Pro
  7. 07

    Write a Generic Function

    • medium
    • Pro
  8. 08

    Partial, Pick and Omit

    • medium
    • Pro
  9. 09

    Narrow with Type Guards

    • medium
    • Pro
  10. 10

    Readonly and As Const

    • medium
    • Pro
  11. 11

    Type an API Response Safely

    • hard
    • Pro
  12. 12

    Migrate JavaScript to TypeScript

    • hard
    • Pro