# 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. The full outline of the LoWisa TypeScript course: 17 levels, 50 lessons. The first level is free.

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.

## 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](/courses/typescript/start-here/) | JavaScript With a Type System; Compile Time vs Runtime |
| [Level 1: TypeScript Foundations](/courses/typescript/level-1-typescript-foundations/) | Primitive Types and Inference; Variables, Functions and Objects; Reading TypeScript |
| [Level 2: Object Types](/courses/typescript/level-2-object-types/) | Interfaces and Type Aliases; Optional and Readonly Properties; Structural Typing |
| [Level 3: Unions & Narrowing](/courses/typescript/level-3-unions-and-narrowing/) | Union and Intersection Types; Type Guards and Control-Flow Analysis; Discriminated Unions |
| [Level 4: Functions](/courses/typescript/level-4-functions/) | Function Types and Signatures; Optional, Default and Rest Parameters; Overloads and Callback Types |
| [Level 5: Generics](/courses/typescript/level-5-generics/) | Generic Functions and Types; Constraints and Relationships; Designing Reusable Typed APIs |
| [Level 6: Advanced Type Transformations](/courses/typescript/level-6-advanced-type-transformations/) | keyof, typeof and Indexed Access; Mapped and Conditional Types; Template Literal Types |
| [Level 7: Classes & Object Design](/courses/typescript/level-7-classes-and-object-design/) | Classes and Access Modifiers; Abstract Classes and Interfaces; Composition and Typed Domain Models |
| [Level 8: Modules & Projects](/courses/typescript/level-8-modules-and-projects/) | Imports and Exports; Module Resolution; Organising Large TypeScript Systems |
| [Level 9: Compiler & Configuration](/courses/typescript/level-9-compiler-and-configuration/) | tsconfig; Strictness and Compiler Options; Build Targets and Module Formats |
| [Level 10: Async & External Data](/courses/typescript/level-10-async-and-external-data/) | Typed Promises and Async Code; API Response Types; Runtime Validation vs Compile-Time Types |
| [Level 11: Libraries & Declarations](/courses/typescript/level-11-libraries-and-declarations/) | Declaration Files; Third-Party Type Definitions; Publishing Typed Libraries |
| [Level 12: Error Modelling](/courses/typescript/level-12-error-modelling/) | Typed Results and Errors; Exhaustiveness; Designing Impossible States Out |
| [Level 13: Testing & Refactoring](/courses/typescript/level-13-testing-and-refactoring/) | Testing Typed Code; Type-Safe Refactoring; Maintaining Large TypeScript Codebases |
| [Level 14: Advanced Type Design](/courses/typescript/level-14-advanced-type-design/) | Type-Level Programming; API and Library Type Architecture; Balancing Type Safety and Complexity |
| [Level 15: Production TypeScript](/courses/typescript/level-15-production-typescript/) | Build Performance and Tooling; JavaScript Interoperability; Production Architecture and Reliability |
| [Level 16: TypeScript Mastery](/courses/typescript/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](/help/checkpoints-and-flashcards/).
- **Games on what you have learned.** See [Revision games](/help/revision-games/).
- **On your phone.** The app is on Google Play and the App Store. See [Getting started](/help/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.

---

Source: https://lowisa.dev/courses/typescript/ · Updated 2026-11-25
