Skip to content
KALANBLON
Intermediate2 h 5Free

TypeScript: reliable JavaScript

Add types to your JavaScript and let the compiler catch errors before your users do. You learn annotations and inference, interfaces, discriminated unions, generics, utility types and validating outside data. You finish with the typed shopping cart of an online shop.

Start the course

0 / 7 chapters completed

What you'll be able to do

  • Annotate variables, functions and objects, and make the most of inference
  • Model variants with exhaustively checked discriminated unions
  • Write generic functions and classes
  • Validate outside data with unknown and type guards

Course outline