Learn Everything

Module · Frontend Engineer

TypeScript Essentials

Model the data at the edges, let the compiler catch the rest, and keep the build fast.

2 topics4 interactive tasks

TOPIC 01

The Type System

Describe your shapes once and let the compiler do the checking for you.

What you'll practice

  • Model the Domain — guided · beginner
  • Narrow an Unknown Type — practice · intermediate

A command you'll meet

cat ~/frontend/src/types/order.ts

Types are not validation, but they are the first line of defence. Open the task below for the full walkthrough.

TOPIC 02

Project & Tooling

The compiler configuration and the scripts that make the checks automatic.

What you'll practice

  • Configure the Compiler — practice · intermediate
  • Wire the Scripts — guided · beginner

A command you'll meet

cat ~/frontend/tsconfig.json

Strict mode is not a style preference - it is a different language. Open the task below for the full walkthrough.