Memory boxes
Variables as labeled boxes, references as arrows. Shows values, copies, and shared objects.
Course curriculum
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.
+2 bonus modules · 44 lessons, learned separately
// 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
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.
Level 1 assumes no programming knowledge. Every term is explained the first time it appears, with an everyday example.
Every lesson has at least one diagram or animation that shows the idea before the code does. Each module has one signature visual.
From the first lesson you run code with Node and check it with TypeScript, so you always see what the types catch for you.
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.
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.
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 is built the same way, so you always know what a module holds before you open it. 51 modules, one shape.
Visual language
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.
Variables as labeled boxes, references as arrows. Shows values, copies, and shared objects.
Code runs line by line next to a live panel of variables and the call stack.
Time flows left to right: the event loop, promises, and concurrent requests.
The code's branches drawn as a map, with the type written on every path.
Types drawn as circles of possible values: unions, intersections, unknown, never.
An input type goes in, a transformed type comes out, field by field.
How code flows from checking to running, and how outside data crosses into typed code.
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
Every level, from your first line of code on.
Paid · in progressProgramming from scratch
FreeBreak 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 freeEveryday power of the type system
Paid · coming soonExpected$99 · Q2 2027Use the full everyday power of the type system, model a domain with types, protect code from bad data, and review TypeScript critically.
See every lessonType-level mastery and TypeScript at scale
Paid · after Level 2Expected$119 · Q4 2027Read 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 lessonNot 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.
Curriculum
Search every lesson, follow a level module by module, and pick up where you left off.
Spiral structure
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.
| Topic | Level 1TypeScript Foundations | Level 2Practical TypeScript | Level 3Advanced TypeScript |
|---|---|---|---|
| Generics | Reading Array<T> and Map<K, V>; a first generic function | Constraints, keyof, defaults, generic classes | How inference works, const parameters, NoInfer, variadic tuples |
| Narrowing | typeof, in, discriminated unions | Type guards, assertion functions, exhaustiveness with never | Limits of control-flow analysis; filtering unions with conditional types |
| Designing with types | Literal unions for statuses and commands | Impossible states, branded types, parse don't validate | Type-safe API design, architecture, readable type errors |
| Utility types | Record as a dictionary | All built-in utilities | Writing your own from scratch |
unknown and never | unknown in catch; any vs unknown | Wide types; exhaustiveness checks | Top and bottom types in the type system |
| Data from outside | JSON.parse returns any; API types are not guarantees | Hand-written validators; types derived from them | Types generated from OpenAPI and database schemas |
| Classes | Basics; private vs #private | implements, abstract, accessors, composition | Decorators, using |
| Async | Promise, async / await, the event loop | Promise.all and friends, cancellation, for await | Covered earlier |
| Testing | A first test with node:test | Typed fixtures, async tests, test doubles | Testing types with Equal / Expect |
| Configuration | A ready-made tsconfig.json, strict | tsconfig.json in detail, module resolution, project structure | Project references, checker performance, shared team config |
| External code | npm and @types | declare module, .d.ts | Module augmentation, publishing and versioning types |
| Literals | Unions of literals | as const, satisfies | Template literal types |
| Libraries | chalk, commander, date-fns, lodash: using typed packages safely | zod, axios, ts-pattern, vitest: libraries built on inference | Reading the types of type-fest, zod, Drizzle or Kysely, and tRPC |
| Working in a team | Readable names and comments | Code review, reviewing AI-generated code | Team standards, migrations, TypeScript upgrades |