Skip to content

TypeScript

The official TypeScript site with its handbook and live Playground

Content updated · 2026-09-07

What is it · 它是什么

What is TypeScript?

The official TypeScript site is the language's front door: the Handbook runs from basic types to advanced topics like generics and narrowing, the Playground offers a zero-install online editor with live compilation, and the TSConfig reference explains every option. TypeScript is now a mainstream choice for modern front-end, and this site is its official authority.

How to use · 怎么用

How to use TypeScript

  1. Read the Handbook in order when starting out; the Everyday Types and narrowing chapters are what you'll use daily.
  2. Use the Playground to test type behavior or reproduce type errors — shareable links make it an easy way to ask for help.
  3. When setting up a project, consult the TSConfig reference instead of copy-pasting configs; flip each switch knowing why.

Key features · 核心特点

Key features of TypeScript

  • A genuinely structured Handbook, not an API dump
  • The Playground is install-free, shareable, and great for debugging types
  • Every TSConfig option is officially explained — no more cargo-cult configs
  • The language is open source and free, with docs tracking each release

Related sites