Total TypeScript · Matt Pocock
Beginner's TypeScript — Total TypeScript
Matt Pocock’s free beginner TypeScript exercises, using problems and solutions to practice common type-checking tasks.
Explore TypeScript courses for types, narrowing, functions, objects, and application code, with advice on learning JavaScript alongside the type system.
4 learning resources in this collection
TypeScript adds a static type system to JavaScript. It can make contracts and mistakes more visible while leaving JavaScript's runtime behavior in place. Learning the two together is important: a successful type check does not mean every external value is valid.
Start with JavaScript functions, objects, and arrays before a broad TypeScript guide. Look for narrowing, unions, generics, and practical configuration explained through real problems. Prefer exercises that make a model clearer over complicated type expressions introduced without a need.
Convert a small JavaScript module and describe its input and output types. Test a value arriving from outside the program and decide where runtime validation belongs. Avoid using a type assertion only to silence a mismatch you have not understood.
Total TypeScript · Matt Pocock
Matt Pocock’s free beginner TypeScript exercises, using problems and solutions to practice common type-checking tasks.
YouTube · Hitesh Choudhary
Hitesh Choudhary’s freeCodeCamp TypeScript video course, covering the type system from basic values through generics and narrowing.
TypeScript · TypeScript documentation team
The official TypeScript Handbook for JavaScript programmers learning type checking, narrowing, generics and everyday type patterns.
Udemy · Maximilian Schwarzmüller
A structured TypeScript course covering types, narrowing, generics, compiler configuration, and integration with React or Node.js.