Learn TypeScript by seeing the types
A complete learning platform with 20 structured levels, a real in-browser playground, visual compiler simulators, quizzes, and coding challenges. Beginner to advanced — no setup required.
interface Developer {
name: string;
skills: string[];
learning: "TypeScript";
}
const you: Developer = {
name: "You",
skills: ["JavaScript"],
learning: "TypeScript", // ✓ type-checked
};Why TypeScript
JavaScript that scales with you
TypeScript is used by most professional JavaScript teams for one reason: it turns runtime surprises into edit-time answers.
Catch bugs before they run
The compiler finds type mismatches, missing properties, and null bugs while you type — not in production at 3 a.m.
Autocomplete that actually knows
Types power your editor: precise suggestions, safe refactors, and documentation on hover, everywhere in your codebase.
Scale without fear
Types are enforced documentation. Large codebases and teams stay navigable because every contract is machine-checked.
It's just JavaScript
TypeScript compiles to plain JavaScript with zero runtime cost. Everything you know still works — now with a safety net.
Learning Path
20 levels, beginner to expert
A structured roadmap where every level builds on the last — each with interactive lessons, runnable examples, and a quiz.
Introduction to TypeScript
Fundamentals
Installing TypeScript
Fundamentals
Variables & Data Types
Fundamentals
Functions
Fundamentals
Arrays & Objects
Fundamentals
Interfaces
Intermediate
Type Aliases
Intermediate
Enums
Intermediate
Classes
Intermediate
Modules
Intermediate
Generics
Advanced
Advanced Types
Advanced
Utility Types
Advanced
Decorators
Advanced
Type Guards
Advanced
Async Programming
Advanced
Configuration (tsconfig)
Expert
Performance & Best Practices
Expert
Design Patterns
Expert
Real-World Projects
Expert
Interactive Tools
Don't read about the compiler — watch it work
13 visual simulators run the real TypeScript compiler in your browser, from the AST to utility-type resolution.
Compiler Visualizer
Step through every phase of the TypeScript compiler: parsing, the AST, type checking, JavaScript emit, and execution.
Type Inference Visualizer
See exactly what type TypeScript infers for each variable and why — literal types, widening, and return type inference.
Generics Simulator
Watch type parameters get substituted with real types in functions, interfaces, classes, and constraints.
Type Compatibility Simulator
Compare any two types and learn whether one is assignable to the other — with the compiler's real reasoning.
Utility Types Playground
Apply Partial, Pick, Omit, Record, and 10 more utility types to your own types and see the resolved result instantly.
Interface vs Type Alias
An interactive comparison of interfaces and type aliases: extension, declaration merging, unions, and intersections.
A full TypeScript environment, zero setup
Multi-file editing, IntelliSense, live type checking, instant compilation, and console output — the playground is VS Code's editor engine running in your tab.
Open the playgroundStart with the fundamentals
Level 1 · 15 min
Introduction to TypeScript
Learn what TypeScript is, why it exists, and how it relates to the JavaScript you already know. You will see your first type annotations and understand what the compiler does (and does not do) for you.
Level 2 · 12 min
Installing TypeScript
Set up TypeScript in a real project: install the compiler with npm, generate a tsconfig.json, compile your first file, and learn the modern ways to run TypeScript directly during development.
Level 3 · 20 min
Variables & Data Types
Master TypeScript's primitive types, learn how type inference lets you omit most annotations, and understand special types like any, unknown, and literal types.
Then prove it
Coding challenges
36 TypeScript problems across easy, medium, and hard — solve them in the built-in editor with instant output checking and earn XP.
Real-world projects
10 guided builds — from a typed Todo app to a full e-commerce store — with architecture, folder structure, and domain types included.
Track your progress
XP, streaks, achievements, quiz scores, and bookmarks — all stored privately in your browser.
Testimonials
Learners who made it click
Seeing types move is different from reading about them.
“The compiler visualizer finally made the AST click for me. I went from copying types off Stack Overflow to actually understanding what the checker does.”
“I tried three courses before this. Being able to break the example code in the playground and watch the errors appear is what made it stick.”
“The generics simulator is the tool I wish existed when I was learning. I share it with every junior on my team now.”
FAQ
Questions, answered
Everything you might want to know before you start.
Basic JavaScript helps a lot — variables, functions, and objects. The first levels review the essentials as they introduce types, and every JavaScript comparison is spelled out, so motivated beginners can start here too.