Skip to lesson

TypeScript · Beginner to advanced · 42 lessons ready

TypeScript for beginners

A free TypeScript course for people who know basic JavaScript. Short lessons with real compiler output cover everyday types, functions, narrowing, generics, utility types, classes, modules, tooling and a final typed project.

Learn at your pace·Hands-on examples·Free to learn

0 of 42 available lessons completed

Start the course →

YOUR NEXT SKILL

From curious to confident.

Learners who know basic JavaScript (variables, functions, objects, arrays and promises). No earlier TypeScript or typed-language experience is needed. You need Node.js and a text editor.

  • Explain what TypeScript adds to JavaScript and how the compiler checks and emits code
  • Type variables, functions, objects, arrays and tuples, and read compiler errors with confidence
  • Combine types with unions, intersections and interfaces, and narrow them safely
  • Write generic functions and types with constraints, keyof and indexed access
  • Use utility, mapped, conditional and template literal types for real problems
  • Configure strict mode and tsconfig, type modules, async code and the DOM, and migrate a JavaScript project

ONE STEP AT A TIME

Your TypeScript learning path

Read, experiment, and check what you know. Your completed lessons stay marked as you go.

Final exam and certificate

Finish all 42 lessons to unlock a 15-question exam on TypeScript. Pass it and you get a certificate with a public link you can share.

Sign in to take the exam
Course navigation

Frontend

TypeScript tutorial

Add types to JavaScript to catch mistakes before your code runs, from your first annotation to generics and real projects.

Your progress 0/42
Learning something new?Explore all courses