Course

Learn TypeScript

JavaScript with a type system you actually command: narrowing, generics, conditional types, declaration files and compiler mastery: until impossible states stop compiling and refactors stop being scary.

This is the whole TypeScript course in the LoWisa phone app, level by level: 17 levels, 50 lessons and 150 ideas, each taught and then checked. The first level, Start Here: Why TypeScript Exists, is free.

Updated 2026-11-25

What you can do as you go

Where you areWhat you can do
Start Here: Level 3You read and write typed code fluently: shapes, unions, narrowing and structural typing hold no surprises.
Levels 4–8You command functions, generics, type transformations, classes and module architecture: the daily working set.
Levels 9–12You own the compiler, validate external data honestly, publish declarations and model errors exhaustively.
Levels 13–16You refactor with the compiler, design advanced typed APIs, keep huge repos fast, and explain every trade-off.
Project ladderFive 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

LevelLessons in it
Start Here: Why TypeScript ExistsJavaScript With a Type System; Compile Time vs Runtime
Level 1: TypeScript FoundationsPrimitive Types and Inference; Variables, Functions and Objects; Reading TypeScript
Level 2: Object TypesInterfaces and Type Aliases; Optional and Readonly Properties; Structural Typing
Level 3: Unions & NarrowingUnion and Intersection Types; Type Guards and Control-Flow Analysis; Discriminated Unions
Level 4: FunctionsFunction Types and Signatures; Optional, Default and Rest Parameters; Overloads and Callback Types
Level 5: GenericsGeneric Functions and Types; Constraints and Relationships; Designing Reusable Typed APIs
Level 6: Advanced Type Transformationskeyof, typeof and Indexed Access; Mapped and Conditional Types; Template Literal Types
Level 7: Classes & Object DesignClasses and Access Modifiers; Abstract Classes and Interfaces; Composition and Typed Domain Models
Level 8: Modules & ProjectsImports and Exports; Module Resolution; Organising Large TypeScript Systems
Level 9: Compiler & Configurationtsconfig; Strictness and Compiler Options; Build Targets and Module Formats
Level 10: Async & External DataTyped Promises and Async Code; API Response Types; Runtime Validation vs Compile-Time Types
Level 11: Libraries & DeclarationsDeclaration Files; Third-Party Type Definitions; Publishing Typed Libraries
Level 12: Error ModellingTyped Results and Errors; Exhaustiveness; Designing Impossible States Out
Level 13: Testing & RefactoringTesting Typed Code; Type-Safe Refactoring; Maintaining Large TypeScript Codebases
Level 14: Advanced Type DesignType-Level Programming; API and Library Type Architecture; Balancing Type Safety and Complexity
Level 15: Production TypeScriptBuild Performance and Tooling; JavaScript Interoperability; Production Architecture and Reliability
Level 16: TypeScript MasteryComplex 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.

RoleProjectThe situation
TypeScript DeveloperTyped Expense SplitterA 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 EngineerSchema-Validated API ClientYour 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 EngineerMigrate and Harden a JavaScript CodebaseYou 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 EngineerShared Contract MonorepoA 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 SpecialistPublish a Typed Query-Builder LibraryYour 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".

Start TypeScript with the free first level

LoWisa is on Google Play and the App Store.