Application Development

TypeScript

The type system on top of JavaScript, taught against the real compiler: inference, unions, narrowing, generics, and typing the messy data that arrives from an API.

The course project

Typed Explorer

The Knowledge Explorer from the React course, converted to TypeScript, with every response validated at the boundary rather than assumed.

0%
course

12 modules · 24 lessons

Each module ends with a practice test, a graded build, and a step of the course project.

Part I: The Idea

Section project · coming soon

Type a Small Program

Add types to a plain JavaScript program and let the compiler find a bug.

Part II: Shapes

Section project · coming soon

Model the Domain

Describe real records with types, unions and optional fields.

Part III: Proving Things

Section project · coming soon

Make Bad States Impossible

Design types so invalid data can't be represented.

Part IV: Reuse

Section project · coming soon

A Typed Utility Library

Write generic helpers you can reuse across projects.

Part V: The Boundary

Section project · coming soon

Validate What Comes In

Check data from an API at the boundary, before trusting it.

Part VI: In Practice

Section project · coming soon

Convert an App

Migrate a small app to TypeScript without breaking it.

All courses