courses / typescript

learn typescript

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

write typescript like a professional.

For people who build things on their own and want code that others trust and can change.

1 unit 1 Sharper functions Type functions as precisely as the data they handle. 0 of 4 · 47 min
  1. Functions are values11 min
  2. Generic constraints12 min
  3. Rest parameters and spread11 min
  4. Overloads13 min
2 unit 2 Types from values Let TypeScript read your values and write the types for you. 0 of 4 · 46 min
  1. Keep exact values with as const11 min
  2. Check without forgetting: satisfies12 min
  3. Types from values with typeof11 min
  4. Every key with keyof12 min
3 unit 3 Reshaping types Build new types from old ones instead of copying them out. 0 of 4 · 47 min
  1. Look types up by key11 min
  2. Mapped types13 min
  3. Partial, Required and Readonly11 min
  4. Pick and Omit12 min
4 unit 4 Types that decide Write types that ask a question and choose an answer. 0 of 4 · 50 min
  1. Conditional types12 min
  2. Filtering unions13 min
  3. Capture types with infer13 min
  4. ReturnType, Parameters and Awaited12 min
5 unit 5 Text as types Teach the checker exactly which strings are allowed. 0 of 4 · 48 min
  1. Template literal types11 min
  2. String helper types10 min
  3. Key remapping13 min
  4. A typed event map14 min
6 unit 6 Unions you can trust Model every case and let the checker prove you handled them all. 0 of 4 · 50 min
  1. Discriminated unions13 min
  2. Exhaustive checks with never12 min
  3. Type guards13 min
  4. Assertion functions12 min
7 unit 7 Ship it Build, test and ship typed code like a professional. 0 of 4 · 52 min
  1. Branded types12 min
  2. Results instead of crashes13 min
  3. Unit tests12 min
  4. Putting it all together15 min
end of level 3 level check Build one small project with everything from this level. Pass it and your face levels up. see the check