courses / typescript

learn typescript

Three levels, from never written code to writing it like a professional. JavaScript that scales, with static types.

build things that are actually useful.

For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.

1 unit 1 Shapes of data Describe your data so the checker knows what every value holds. 0 of 4 · 35 min
  1. Objects8 min
  2. Interfaces9 min
  3. Type aliases8 min
  4. Objects working together10 min
2 unit 2 This or that Let a value be one of several things, and find out which. 0 of 4 · 34 min
  1. Union types8 min
  2. Literal types8 min
  3. Narrowing9 min
  4. Choosing with switch9 min
3 unit 3 Maybe, and never Handle values that might be missing, and lock values that must stay. 0 of 4 · 33 min
  1. Optional properties8 min
  2. Reading safely8 min
  3. Optional and default parameters9 min
  4. readonly8 min
4 unit 4 Lists, pairs and lookups Work through arrays quickly, pair values up and look things up by name. 0 of 4 · 35 min
  1. Arrow functions8 min
  2. map and filter10 min
  3. Tuples8 min
  4. Record9 min
5 unit 5 Build your own types Write code that works for any type, and build objects from classes. 0 of 4 · 40 min
  1. Generic functions10 min
  2. Generic types9 min
  3. Classes11 min
  4. Private and implements10 min
6 unit 6 Waiting for answers Write code that waits for timers and for replies from a server. 0 of 4 · 40 min
  1. Timers9 min
  2. Promises11 min
  3. Asking the practice server10 min
  4. Typing replies10 min
7 unit 7 Trust, but check Check data as it arrives, and recover when things go wrong. 0 of 4 · 42 min
  1. unknown9 min
  2. Errors on purpose10 min
  3. Checking data at runtime11 min
  4. Putting it all together12 min
end of level 2 level check Build one small project with everything from this level. Pass it and your face levels up. see the check