HUNORSDBKBP
All skills
Frontend

TypeScript

A typed contract between different parts of a codebase. TypeScript helps surface incompatible data structures early and makes changes easier to follow.

Official documentation

What is it used for?

  1. Defining precise types for API data, component properties and domain models.

  2. Modelling states and outcomes with union types and type narrowing.

  3. Building shared utilities and generic data-handling primitives.

TypeScript | Kovács Balázs Péter