跳转到内容
TypeScript
下载
文档
手册
社区
演练场
工具
in En
Was this page helpful?
Get Started
面向编程初学者的 TS
为 JS 程序员准备的 TypeScript
为 Java/C# Programmers 准备的 TS
面向函数式编程者的 TypeScript
5 分钟了解 TypeScript 工具
Handbook
TypeScript 手册
基础
常见类型
缩小类型范围
函数进阶
对象类型
Type Manipulation
用现有类型创建新类型
泛型
keyof 类型运算符
typeof 类型运算符
索引访问类型
条件类型
映射类型
模板字面类型
类
模块
Reference
Utility Types
Cheat Sheets
Decorators
Declaration Merging
Enums
Iterators and Generators
JSX
mixin
Namespaces
Namespaces and Modules
Symbol
三斜线指令
Type Compatibility
Type Inference
变量声明
Modules Reference
简介
理论
Guides
选择编译器选项
Reference
Appendices
ESM/CJS 互操作性
Tutorials
ASP.NET Core
Gulp
对 DOM 的操作
从 JavaScript 迁移
Babel 搭配 TypeScript
What's New
TypeScript 5.8
TypeScript 5.7
TypeScript 5.6
TypeScript 5.5
TypeScript 5.4
TypeScript 5.3
TypeScript 5.2
TypeScript 5.1
TypeScript 5.0
TypeScript 4.9
TypeScript 4.8
TypeScript 4.7
TypeScript 4.6
TypeScript 4.5
TypeScript 4.4
TypeScript 4.3
TypeScript 4.2
TypeScript 4.1
TypeScript 4.0
TypeScript 3.9
TypeScript 3.8
TypeScript 3.7
TypeScript 3.6
TypeScript 3.5
TypeScript 3.4
TypeScript 3.3
TypeScript 3.2
TypeScript 3.1
TypeScript 3.0
TypeScript 2.9
TypeScript 2.8
TypeScript 2.7
TypeScript 2.6
TypeScript 2.5
TypeScript 2.4
TypeScript 2.3
TypeScript 2.2
TypeScript 2.1
TypeScript 2.0
TypeScript 1.8
TypeScript 1.7
TypeScript 1.6
TypeScript 1.5
TypeScript 1.4
TypeScript 1.3
TypeScript 1.1
Declaration Files
介绍
声明文件参考
库结构
.d.ts Templates
Modules .d.ts
Module: Plugin
模块:类
Module: Function
Global .d.ts
Global: Modifying Module
Do's and Don'ts
深入探讨
发布
使用
JavaScript
使用 TypeScript 来编写 JavaScript 项目
JavaScript 文件的类型检查
JSDoc 参考
为 .js 文件创建 .d.ts 文件
Project Configuration
tsconfig.json 是什么
Compiler Options in MSBuild
TSConfig Reference
tsc CLI Options
Project References
与构建工具集成
Configuring Watch
每日构建
基础