What you can do as you go
| Where you are | What you can do |
|---|---|
| Start Here: Level 3 | You read and write typed code fluently: shapes, unions, narrowing and structural typing hold no surprises. |
| Levels 4–8 | You command functions, generics, type transformations, classes and module architecture: the daily working set. |
| Levels 9–12 | You own the compiler, validate external data honestly, publish declarations and model errors exhaustively. |
| Levels 13–16 | You refactor with the compiler, design advanced typed APIs, keep huge repos fast, and explain every trade-off. |
| Project ladder | Five desktop app projects from branded-type modelling to a published inference-first library: proof the type system works for you. |
The TypeScript course, level by level
| Level | Lessons in it |
|---|---|
| Start Here: Why TypeScript Exists | JavaScript With a Type System; Compile Time vs Runtime |
| Level 1: TypeScript Foundations | Primitive Types and Inference; Variables, Functions and Objects; Reading TypeScript |
| Level 2: Object Types | Interfaces and Type Aliases; Optional and Readonly Properties; Structural Typing |
| Level 3: Unions & Narrowing | Union and Intersection Types; Type Guards and Control-Flow Analysis; Discriminated Unions |
| Level 4: Functions | Function Types and Signatures; Optional, Default and Rest Parameters; Overloads and Callback Types |
| Level 5: Generics | Generic Functions and Types; Constraints and Relationships; Designing Reusable Typed APIs |
| Level 6: Advanced Type Transformations | keyof, typeof and Indexed Access; Mapped and Conditional Types; Template Literal Types |
| Level 7: Classes & Object Design | Classes and Access Modifiers; Abstract Classes and Interfaces; Composition and Typed Domain Models |
| Level 8: Modules & Projects | Imports and Exports; Module Resolution; Organising Large TypeScript Systems |
| Level 9: Compiler & Configuration | tsconfig; Strictness and Compiler Options; Build Targets and Module Formats |
| Level 10: Async & External Data | Typed Promises and Async Code; API Response Types; Runtime Validation vs Compile-Time Types |
| Level 11: Libraries & Declarations | Declaration Files; Third-Party Type Definitions; Publishing Typed Libraries |
| Level 12: Error Modelling | Typed Results and Errors; Exhaustiveness; Designing Impossible States Out |
| Level 13: Testing & Refactoring | Testing Typed Code; Type-Safe Refactoring; Maintaining Large TypeScript Codebases |
| Level 14: Advanced Type Design | Type-Level Programming; API and Library Type Architecture; Balancing Type Safety and Complexity |
| Level 15: Production TypeScript | Build Performance and Tooling; JavaScript Interoperability; Production Architecture and Reliability |
| Level 16: TypeScript Mastery | Complex Generic Systems; Type-System Trade-Offs; Reading and Improving Advanced TypeScript |
Each level has its own page with every lesson and what it teaches.
Start Here: Why TypeScript Exists: what the free first level teaches
JavaScript With a Type System
- What TypeScript is. TypeScript is JavaScript plus a type layer: the same language, with every value’s shape written down and checked.
- Why teams adopt it. Types turn silent runtime surprises into compile-time errors: the bug is caught while you are still typing.
- Types are erased. Types are erased at build time: the emitted JavaScript carries no trace of them, so nothing slows at runtime.
Compile Time vs Runtime
- Two worlds. TypeScript lives in two worlds: compile time where types are checked, and runtime where only JavaScript exists.
- The compiler. The compiler tsc reads your annotated source, reports contradictions, and emits plain JavaScript.
- What types cannot see. A network response arrives at runtime: a type annotation alone cannot prove what actually came over the wire.
Projects you build
The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.
| Role | Project | The situation |
|---|---|---|
| TypeScript Developer | Typed Expense Splitter | A friend group wants a bill-splitting tool: people, expenses, balances, settlements. The twist that makes it TypeScript: money, ids and states are modelled so wrong code cannot compile. |
| Front-End Engineer | Schema-Validated API Client | Your team consumes a flaky third-party sports API: fields go missing, types drift. You build the typed client that makes the rest of the codebase safe from it. |
| TypeScript Engineer | Migrate and Harden a JavaScript Codebase | You inherit a working but untyped order-management codebase. The order is explicit: migrate it to strict TypeScript WITHOUT changing behaviour, and let the compiler find the dormant bugs. |
| Senior TypeScript Engineer | Shared Contract Monorepo | A product’s web client and API server keep drifting apart: a renamed field broke checkout last month. You build the shared-contract architecture that makes that class of outage impossible. |
| TypeScript Specialist | Publish a Typed Query-Builder Library | Your team hand-writes filter objects and gets them wrong weekly. You build the definitive typed query builder: where the compiler knows your schema and autocompletes every field. |
How you learn it
- One idea at a time. Each lesson teaches a few ideas and asks you about each before it moves on.
- A checkpoint and flashcards at the end of every level. See Checkpoints and flashcards.
- Games on what you have learned. See Revision games.
- On your phone. The app is on Google Play and the App Store. See Getting started.
Frequently asked questions
How many levels does the LoWisa TypeScript course have?
17 levels with 50 lessons, from Start Here: Why TypeScript Exists to Level 16: TypeScript Mastery.
Is the TypeScript course free?
The first level, Start Here: Why TypeScript Exists, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.
Where does the TypeScript course start?
With Start Here: Why TypeScript Exists. Its first lesson is "JavaScript With a Type System".