Course curriculum

TypeScript from Zero

A complete TypeScript course for people who have never written a line of code, in three levels. Language first: frameworks, tools, and the wider library catalog live in two separate bonus modules.

levels
3
modules
51
lessons
237
hours
155‑200

+2 bonus modules · 44 lessons, learned separately

levels.tsts3 levels · 2 bonus modules
// Start at the level that matches you
type Level =
  | { n: 1; name: "TypeScript Foundations"; from: "zero" }
  | { n: 2; name: "Practical TypeScript"; from: "Level 1" }
  | { n: 3; name: "Advanced TypeScript"; from: "Level 2" };

// Tools and libraries, learned separately
type Bonus = "Real World" | "Must-Have Libraries";

Method

How the course works

The language comes first

The levels teach TypeScript and the JavaScript underneath it. Each level closes with a few popular, general-purpose libraries matched to its difficulty. Frameworks, tools, and the wider library catalog live in two separate bonus modules.

Written for true beginners

Level 1 assumes no programming knowledge. Every term is explained the first time it appears, with an everyday example.

See it, then code it

Every lesson has at least one diagram or animation that shows the idea before the code does. Each module has one signature visual.

Two tools, two jobs

From the first lesson you run code with Node and check it with TypeScript, so you always see what the types catch for you.

A project step in every module

Each level grows one project, and every module adds a piece of it: a task manager, then a typed API client, then a type-safe library.

Practice and stay current

Predict the type, fix the error, write the code, read someone else's code. Exercises are checked automatically, and every lesson shows the versions it was tested with.

Every lesson follows the same path

  1. GoalOne sentence: what you'll be able to do
  2. ConceptThe idea, in plain words
  3. See itA diagram or animation of the idea
  4. ExampleReal, runnable code
  5. PredictGuess the output or the type first
  6. Common mistakeWhat trips people up, and the fix
  7. Exercises3 to 5, checked automatically
  8. Recap3 quick questions

Lessons take 20 to 30 minutes, some shorter or longer as the topic needs. Each module ends with a one-page cheat sheet, in its last lesson. Levels 2 and 3 start with a placement quiz, and a glossary covers the whole course.

Module contract

Every module, the same 4 parts

Every module is built the same way, so you always know what a module holds before you open it. 51 modules, one shape.

  1. 01 · The coreLessons20 to 30 minutes each as a rule, every one on the same lesson path.
  2. 02 · Inside the lessonsKey visualOne signature diagram or animation that carries the module's big idea.
  3. 03 · Hands-onProject stepOne real addition to the level's project. You build as you learn.
  4. 04 · Closes the moduleCheat sheetOne page that sums the module up, downloadable as a PDF.

Visual language

7 pictures you'll learn to read

The same seven kinds of pictures come back throughout the course, so each time an idea returns at a deeper level, you already know how to read it.

Memory boxes

Variables as labeled boxes, references as arrows. Shows values, copies, and shared objects.

Step-through player

Code runs line by line next to a live panel of variables and the call stack.

Where you meet itLevel 1 · M4, M5

Types as sets

Types drawn as circles of possible values: unions, intersections, unknown, never.

Every animation can be paused and stepped through, respects reduced-motion settings, and has a static version plus a text description for screen readers.

Levels

Start free. Go further when you’re ready.

Complete course

TypeScript from Zero · Complete

Every level, from your first line of code on.

Paid · in progress
  • Level 1 · TypeScript Foundationsincluded, free
  • Level 2 · Practical TypeScript
  • Level 3 · Advanced TypeScript
  • 51 modules · 237 lessons
  • + Bonus · 2 modules, free
  • 155‑200 hours
Start with Level 1
Level 1

TypeScript Foundations

Programming from scratch

Free
  • 15 modules · 89 lessons
  • 45‑60 hours
  • Project: TaskKit

Break a problem into steps, write and test small programs, read error messages, work with files and web APIs, and use npm packages safely.

Start Level 1 free
Level 2

Practical TypeScript

Everyday power of the type system

Paid · coming soonExpected$99 · Q2 2027
  • 18 modules · 76 lessons
  • 55‑70 hours
  • Project: Typed API client

Use the full everyday power of the type system, model a domain with types, protect code from bad data, and review TypeScript critically.

See every lesson
Level 3

Advanced TypeScript

Type-level mastery and TypeScript at scale

Paid · after Level 2Expected$119 · Q4 2027
  • 18 modules · 72 lessons
  • 55‑70 hours
  • Project: Typed toolkit

Read and write advanced types, design APIs that are pleasant and safe to use, and lead TypeScript at scale: architecture, generated types, checker performance, migrations, and team standards.

See every lesson
Bonus

2 bonus modules · 44 lessons

Free
Open Bonus Modules

Not part of the levels. These two modules show where TypeScript is used and which libraries you'll meet. Each lesson explains what a platform, tool, or library is for and shows one short example of where TypeScript helps. The tools themselves are learned separately; this course doesn't teach them in depth.

  • Bonus A · 15 lessonsTypeScript in the Real WorldPart 1 reads best after Level 2. Its Git lesson, the first of Part 2, builds on Level 1's lessons 15.2 and 15.3: read it any time after Level 1.
  • Bonus B · 29 lessons · coming soonMust-Have LibrariesA catalog, not a sequence: read any lesson once you've reached the level on its tag. Libraries already taught inside the levels (chalk, commander, date-fns, lodash, zod, axios, ts-pattern, vitest, type-fest, Drizzle or Kysely, tRPC) aren't repeated here.

Curriculum

237 lessons, in order

Search every lesson, follow a level module by module, and pick up where you left off.

Spiral structure

The same ideas, deeper each level

Key topics come back at every level, each time deeper. Use this table to see where an idea is introduced and where it is taken further.

TopicLevel 1TypeScript FoundationsLevel 2Practical TypeScriptLevel 3Advanced TypeScript
GenericsReading Array<T> and Map<K, V>; a first generic functionConstraints, keyof, defaults, generic classesHow inference works, const parameters, NoInfer, variadic tuples
Narrowingtypeof, in, discriminated unionsType guards, assertion functions, exhaustiveness with neverLimits of control-flow analysis; filtering unions with conditional types
Designing with typesLiteral unions for statuses and commandsImpossible states, branded types, parse don't validateType-safe API design, architecture, readable type errors
Utility typesRecord as a dictionaryAll built-in utilitiesWriting your own from scratch
unknown and neverunknown in catch; any vs unknownWide types; exhaustiveness checksTop and bottom types in the type system
Data from outsideJSON.parse returns any; API types are not guaranteesHand-written validators; types derived from themTypes generated from OpenAPI and database schemas
ClassesBasics; private vs #privateimplements, abstract, accessors, compositionDecorators, using
AsyncPromise, async / await, the event loopPromise.all and friends, cancellation, for awaitCovered earlier
TestingA first test with node:testTyped fixtures, async tests, test doublesTesting types with Equal / Expect
ConfigurationA ready-made tsconfig.json, stricttsconfig.json in detail, module resolution, project structureProject references, checker performance, shared team config
External codenpm and @typesdeclare module, .d.tsModule augmentation, publishing and versioning types
LiteralsUnions of literalsas const, satisfiesTemplate literal types
Librarieschalk, commander, date-fns, lodash: using typed packages safelyzod, axios, ts-pattern, vitest: libraries built on inferenceReading the types of type-fest, zod, Drizzle or Kysely, and tRPC
Working in a teamReadable names and commentsCode review, reviewing AI-generated codeTeam standards, migrations, TypeScript upgrades
Curriculum v6 · September 2026Tested with TypeScript 7.x · Node.js LTS