TypeScript Documentation

Modules Reference

How TypeScript models JavaScript modules.

Declaration Files

Learn how to write declaration files to describe existing JavaScript. Important for DefinitelyTyped contributions.

Cheat Sheets

Downloadable syntax reference pages for different parts of everyday TypeScript code.

开始学习