HUNORSDBKBP
所有技能
前端

TypeScript

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

官方文档

它可以做什么?

  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