2015-03-22 19:32:47 +08:00
|
|
|
|
# TypeScript
|
2015-12-06 20:07:48 +08:00
|
|
|
|
|
2015-12-27 08:11:55 +08:00
|
|
|
|
[![Build Status](https://travis-ci.org/zhongsp/TypeScript.svg?branch=master)](https://travis-ci.org/zhongsp/TypeScript)
|
|
|
|
|
|
2017-02-22 09:50:24 +08:00
|
|
|
|
[TypeScript 2.2 RC 发布!](https://blogs.msdn.microsoft.com/typescript/2017/02/02/announcing-typescript-2-2-rc/)
|
2016-10-06 14:41:00 +08:00
|
|
|
|
|
2017-01-05 10:17:57 +08:00
|
|
|
|
<img src="./misc/ts-2-1-release.jpg" alt="TypeScript Statistics" width="480" height="auto">
|
2017-01-05 10:11:09 +08:00
|
|
|
|
|
2017-01-05 10:17:57 +08:00
|
|
|
|
<img src="./misc/ts-2-0-npm-downloads.png" alt="TypeScript Statistics" width="480" height="auto">
|
2016-10-07 09:42:27 +08:00
|
|
|
|
|
2016-11-11 11:28:52 +08:00
|
|
|
|
TypeScript是JavaScript的超集并且能够编译输出为纯粹的JavaScript. <http://www.typescriptlang.org>
|
2015-03-23 08:03:45 +08:00
|
|
|
|
|
2015-12-06 20:07:48 +08:00
|
|
|
|
请阅读 :book: [TypeScript Handbook 中文版 - Published with GitBook](http://zhongsp.gitbooks.io/typescript-handbook/content/)
|
|
|
|
|
|
|
|
|
|
## 目录
|
|
|
|
|
|
2016-06-01 13:09:40 +08:00
|
|
|
|
* [快速上手](./doc/handbook/tutorials/README.md)
|
2016-06-02 16:47:09 +08:00
|
|
|
|
* [ASP.NET Core](./doc/handbook/tutorials/ASP.NET Core.md)
|
2016-06-11 16:24:35 +08:00
|
|
|
|
* [ASP.NET 4](./doc/handbook/tutorials/ASP.NET 4.md)
|
|
|
|
|
* [Gulp](./doc/handbook/tutorials/Gulp.md)
|
2016-06-02 16:47:09 +08:00
|
|
|
|
* [Knockout.js](./doc/handbook/tutorials/Knockout.md)
|
2016-06-11 16:24:35 +08:00
|
|
|
|
* [React与webpack](./doc/handbook/tutorials/React & Webpack.md)
|
2016-06-15 08:56:30 +08:00
|
|
|
|
* [Angular 2](./doc/handbook/tutorials/Angular 2.md)
|
2016-10-07 11:48:03 +08:00
|
|
|
|
* [从JavaScript迁移到TypeScript](./doc/handbook/tutorials/Migrating from JavaScript.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [新增功能](./doc/release-notes/README.md)
|
2017-02-07 08:49:52 +08:00
|
|
|
|
* [TypeScript 2.2](./doc/release-notes/TypeScript 2.2.md)
|
2016-11-16 08:52:00 +08:00
|
|
|
|
* [TypeScript 2.1](./doc/release-notes/TypeScript 2.1.md)
|
2016-11-02 08:47:35 +08:00
|
|
|
|
* [TypeScript 2.0](./doc/release-notes/TypeScript 2.0.md)
|
2016-04-18 16:48:02 +08:00
|
|
|
|
* [TypeScript 1.8](./doc/release-notes/TypeScript 1.8.md)
|
|
|
|
|
* [TypeScript 1.7](./doc/release-notes/TypeScript 1.7.md)
|
|
|
|
|
* [TypeScript 1.6](./doc/release-notes/TypeScript 1.6.md)
|
|
|
|
|
* [TypeScript 1.5](./doc/release-notes/TypeScript 1.5.md)
|
2016-04-10 09:29:24 +08:00
|
|
|
|
* [TypeScript 1.4](./doc/release-notes/TypeScript 1.4.md)
|
|
|
|
|
* [TypeScript 1.3](./doc/release-notes/TypeScript 1.3.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [TypeScript 1.1](./doc/release-notes/TypeScript 1.1.md)
|
2016-04-10 09:29:24 +08:00
|
|
|
|
* [手册](./doc/handbook/README.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [基础类型](./doc/handbook/Basic Types.md)
|
|
|
|
|
* [变量声明](./doc/handbook/Variable Declarations.md)
|
|
|
|
|
* [接口](./doc/handbook/Interfaces.md)
|
|
|
|
|
* [类](./doc/handbook/Classes.md)
|
|
|
|
|
* [函数](./doc/handbook/Functions.md)
|
|
|
|
|
* [泛型](./doc/handbook/Generics.md)
|
2016-04-10 20:16:11 +08:00
|
|
|
|
* [枚举](./doc/handbook/Enums.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [类型推论](./doc/handbook/Type Inference.md)
|
|
|
|
|
* [类型兼容性](./doc/handbook/Type Compatibility.md)
|
2016-04-10 20:16:11 +08:00
|
|
|
|
* [高级类型](./doc/handbook/Advanced Types.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [Symbols](./doc/handbook/Symbols.md)
|
2016-04-10 20:16:11 +08:00
|
|
|
|
* [Iterators 和 Generators](./doc/handbook/Iterators and Generators.md)
|
|
|
|
|
* [模块](./doc/handbook/Modules.md)
|
|
|
|
|
* [命名空间](./doc/handbook/Namespaces.md)
|
|
|
|
|
* [命名空间和模块](./doc/handbook/Namespaces and Modules.md)
|
|
|
|
|
* [模块解析](./doc/handbook/Module Resolution.md)
|
|
|
|
|
* [声明合并](./doc/handbook/Declaration Merging.md)
|
|
|
|
|
* [书写.d.ts文件](./doc/handbook/Writing Definition Files.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [JSX](./doc/handbook/JSX.md)
|
2016-04-10 20:16:11 +08:00
|
|
|
|
* [Decorators](./doc/handbook/Decorators.md)
|
|
|
|
|
* [混入](./doc/handbook/Mixins.md)
|
|
|
|
|
* [三斜线指令](./doc/handbook/Triple-Slash Directives.md)
|
2016-08-19 10:10:44 +08:00
|
|
|
|
* [如何书写声明文件](./doc/handbook/declaration files/Introduction.md)
|
2016-10-06 23:09:53 +08:00
|
|
|
|
* [结构](./doc/handbook/declaration files/Library Structures.md)
|
|
|
|
|
* [规范](./doc/handbook/declaration files/Do's and Don'ts.md)
|
|
|
|
|
* [举例](./doc/handbook/declaration files/By Example.md)
|
|
|
|
|
* [深入](./doc/handbook/declaration files/Deep Dive.md)
|
|
|
|
|
* [发布](./doc/handbook/declaration files/Publishing.md)
|
|
|
|
|
* [使用](./doc/handbook/declaration files/Consumption.md)
|
2016-04-10 09:29:24 +08:00
|
|
|
|
* [工程配置](./doc/handbook/README.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [tsconfig.json](./doc/handbook/tsconfig.json.md)
|
|
|
|
|
* [NPM包的类型](./doc/handbook/Typings for NPM Packages.md)
|
|
|
|
|
* [编译选项](./doc/handbook/Compiler Options.md)
|
|
|
|
|
* [在MSBuild里使用编译选项](./doc/handbook/Compiler Options in MSBuild.md)
|
|
|
|
|
* [与其它构建工具整合](./doc/handbook/Integrating with Build Tools.md)
|
2016-04-23 11:29:04 +08:00
|
|
|
|
* [使用TypeScript的每日构建版本](./doc/handbook/Nightly Builds.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
* [Wiki](./doc/wiki/README.md)
|
|
|
|
|
* [TypeScript里的this](./doc/wiki/this-in-TypeScript.md)
|
|
|
|
|
* [编码规范](./doc/wiki/coding_guidelines.md)
|
|
|
|
|
* [常见编译错误](./doc/wiki/Common Errors.md)
|
|
|
|
|
* [支持TypeScript的编辑器](./doc/wiki/TypeScript-Editor-Support.md)
|
|
|
|
|
* [结合ASP.NET v5使用TypeScript](./doc/wiki/Using-TypeScript-With-ASP.NET-5.md)
|
|
|
|
|
* [架构概述](./doc/wiki/Architectural-Overview.md)
|
|
|
|
|
* [发展路线图](./doc/wiki/Roadmap.md)
|
2016-10-24 09:13:18 +08:00
|
|
|
|
* [Breaking Changes](./doc/breaking-changes/breaking-changes.md)
|
2016-10-08 09:14:53 +08:00
|
|
|
|
* [TypeScript 2.0](./doc/breaking-changes/TypeScript 2.0.md)
|
2016-10-20 09:52:21 +08:00
|
|
|
|
* [TypeScript 1.8](./doc/breaking-changes/TypeScript 1.8.md)
|
2016-10-27 10:41:42 +08:00
|
|
|
|
* [TypeScript 1.7](./doc/breaking-changes/TypeScript 1.7.md)
|
|
|
|
|
* [TypeScript 1.6](./doc/breaking-changes/TypeScript 1.6.md)
|
|
|
|
|
* [TypeScript 1.5](./doc/breaking-changes/TypeScript 1.5.md)
|
2016-10-28 10:00:24 +08:00
|
|
|
|
* [TypeScript 1.4](./doc/breaking-changes/TypeScript 1.4.md)
|
2016-04-10 09:19:32 +08:00
|
|
|
|
|
2015-04-15 08:56:08 +08:00
|
|
|
|
**TypeScript Handbook**
|
2015-04-14 19:56:05 +08:00
|
|
|
|
|
2015-06-06 08:17:18 +08:00
|
|
|
|
* Read [TypeScript Handbook (Recommended, BUT not up to date officially)](http://www.typescriptlang.org/Handbook)
|
2016-11-11 11:28:52 +08:00
|
|
|
|
* Read [TypeScript手册中文版 - Published with GitBook(持续更新中,最新版)](http://zhongsp.gitbooks.io/typescript-handbook/content/):book:
|
2015-04-14 19:53:30 +08:00
|
|
|
|
|
2015-04-15 08:56:08 +08:00
|
|
|
|
**TypeScript Language Specification**
|
2015-04-14 19:56:05 +08:00
|
|
|
|
|
2016-11-11 11:28:52 +08:00
|
|
|
|
* Read [TypeScript Language Specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
|
2015-03-23 09:34:18 +08:00
|
|
|
|
|
|
|
|
|
I'd love for you to contribute to the translation:)
|