Skip to the content

Part 9 of 25

TypeScript

TypeScript is JavaScript with types. It is now the default for professional front end and back end work, and the main language of this course. Interviewers expect more than adding ": string" here and there; they want to see you use types to make bugs impossible, for example modelling loading, success and error states so the code cannot forget one. This part starts from zero and goes up to generics, utility types, mapped and conditional types, and validating real API data with Zod. Every lesson builds on the JavaScript in Parts 4 and 5.

Your progress

0%0 of 16 lessons complete

A lesson is complete when its quiz and all three practice levels are passed.

16 lessons in this part

  1. Lesson 99What TypeScript is and why it existsNot started
  2. Lesson 100Basic types and type inferenceNot started
  3. Lesson 101Typing arrays, objects and functionsNot started
  4. Lesson 102any vs unknown vs neverNot started
  5. Lesson 103Union, intersection and literal typesNot started
  6. Lesson 104interface vs typeNot started
  7. Lesson 105Strict mode and strictNullChecksNot started
  8. Lesson 106NarrowingNot started
  9. Lesson 107Discriminated unionsNot started
  10. Lesson 108Type guards, assertion functions and exhaustive checksNot started
  11. Lesson 109GenericsNot started
  12. Lesson 110Constraints, defaults, keyof and indexed accessNot started
  13. Lesson 111Utility typesNot started
  14. Lesson 112Mapped, conditional and template literal types; inferNot started
  15. Lesson 113satisfies, as const, and enums vs unionsNot started
  16. Lesson 114Zod and tsconfigNot started