Skip to content
KodeTrail

TypeScript

JavaScript that scales with you.

Beginner13 lessons≈2 h 52 min total
Start this trail

Begins with: Why TypeScript?

Trail map

  1. Camp 1

    Getting started

    Why types exist and how TypeScript relates to JavaScript.

    1. Why TypeScript?8 min
    2. From JavaScript to TypeScript12 min
    3. Reading type errors12 min
  2. Camp 2

    Basic types

    The everyday types you'll annotate constantly.

    1. string, number, booleanOn the trail map
    2. Arrays and tuplesOn the trail map
    3. Objects and interfacesOn the trail map
    4. Union typesOn the trail map
  3. Camp 3

    Functions & generics

    Typed functions, optional parameters, and your first generic.

    1. Typing functionsOn the trail map
    2. Optional and default parametersOn the trail map
    3. GenericsOn the trail map
  4. Camp 4

    Real-world types

    Narrowing, aliases, and a typed mini project.

    1. NarrowingOn the trail map
    2. Type aliases vs interfacesOn the trail map
    3. Project: typed todo listOn the trail map