TypeScript

TypeScript for JavaScript Developers

Learn TypeScript from basic annotations through reusable object types, narrowing, generics, and safe application boundaries.

This is one technology path. Learn React, Next.js, Node.js, JavaScript basics, and future tracks separately at your own pace.

coverage.map

Topics this track covers

static type checkingtype inferenceannotationsprimitive typesarrays and tuplesreadonly datafunction typesobject typesinterfacestype aliasesoptional propertiesunionsliteral typesnarrowingdiscriminated unionsgenericsconstraintsutility typesunknown and neverdeclaration files
1

TypeScript Foundations

Understand what TypeScript checks and add useful types without fighting the language.

2

Modeling Real Application Data

Use object types, unions, narrowing, and generics to model changing application states.

3

Advanced Type Modeling

Transform and compose types while keeping application states precise.

4

TypeScript at Application Boundaries

Use TypeScript safely with external data, modules, React, and library declarations.