From 26b07efe4f96cdfdd997f1f8205ac21167579fd4 Mon Sep 17 00:00:00 2001 From: Patrick Zhong Date: Fri, 15 Feb 2019 09:54:17 +0000 Subject: [PATCH] GitBook: [master] 2 pages modified --- SUMMARY.md | 98 ++-------------------------------------- preface.md | 130 +---------------------------------------------------- 2 files changed, 4 insertions(+), 224 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 0e05323..3368673 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -1,96 +1,4 @@ -# Summary +# Table of contents + +* [Initial page](preface.md) -* [快速上手](./doc/handbook/tutorials/README.md) - * [5分钟了解TypeScript](./doc/handbook/tutorials/TypeScript in 5 minutes.md) - * [ASP.NET Core](./doc/handbook/tutorials/ASP.NET Core.md) - * [ASP.NET 4](./doc/handbook/tutorials/ASP.NET 4.md) - * [Gulp](./doc/handbook/tutorials/Gulp.md) - * [Knockout.js](./doc/handbook/tutorials/Knockout.md) - * [React与webpack](./doc/handbook/tutorials/React & Webpack.md) - * [React](./doc/handbook/tutorials/React.md) - * [Angular 2](./doc/handbook/tutorials/Angular 2.md) - * [从JavaScript迁移到TypeScript](./doc/handbook/tutorials/Migrating from JavaScript.md) -* [手册](./doc/handbook/README.md) - * [基础类型](./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) - * [枚举](./doc/handbook/Enums.md) - * [类型推论](./doc/handbook/Type Inference.md) - * [类型兼容性](./doc/handbook/Type Compatibility.md) - * [高级类型](./doc/handbook/Advanced Types.md) - * [实用工具类型](./doc/handbook/Utilit Types.md) - * [Symbols](./doc/handbook/Symbols.md) - * [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) - * [JSX](./doc/handbook/JSX.md) - * [Decorators](./doc/handbook/Decorators.md) - * [混入](./doc/handbook/Mixins.md) - * [三斜线指令](./doc/handbook/Triple-Slash Directives.md) - * [JavaScript文件里的类型检查](./doc/handbook/Type Checking JavaScript Files.md) -* [如何书写声明文件](./doc/handbook/declaration files/Introduction.md) - * [结构](./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) -* [工程配置](./doc/handbook/tsconfig.json.md) - * [tsconfig.json](./doc/handbook/tsconfig.json.md) - * [工程引用](./doc/handbook/Project References.md) - * [NPM包的类型](./doc/handbook/Typings for NPM Packages.md) - * [编译选项](./doc/handbook/Compiler Options.md) - * [配置 Watch](./doc/handbook/Configuring Watch.md) - * [在MSBuild里使用编译选项](./doc/handbook/Compiler Options in MSBuild.md) - * [与其它构建工具整合](./doc/handbook/Integrating with Build Tools.md) - * [使用TypeScript的每日构建版本](./doc/handbook/Nightly Builds.md) -* [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) -* [新增功能](./doc/release-notes/README.md) - * [TypeScript 3.1](./doc/release-notes/TypeScript 3.1.md) - * [TypeScript 3.0](./doc/release-notes/TypeScript 3.0.md) - * [TypeScript 2.9](./doc/release-notes/TypeScript 2.9.md) - * [TypeScript 2.8](./doc/release-notes/TypeScript 2.8.md) - * [TypeScript 2.7](./doc/release-notes/TypeScript 2.7.md) - * [TypeScript 2.6](./doc/release-notes/TypeScript 2.6.md) - * [TypeScript 2.5](./doc/release-notes/TypeScript 2.5.md) - * [TypeScript 2.4](./doc/release-notes/TypeScript 2.4.md) - * [TypeScript 2.3](./doc/release-notes/TypeScript 2.3.md) - * [TypeScript 2.2](./doc/release-notes/TypeScript 2.2.md) - * [TypeScript 2.1](./doc/release-notes/TypeScript 2.1.md) - * [TypeScript 2.0](./doc/release-notes/TypeScript 2.0.md) - * [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) - * [TypeScript 1.4](./doc/release-notes/TypeScript 1.4.md) - * [TypeScript 1.3](./doc/release-notes/TypeScript 1.3.md) - * [TypeScript 1.1](./doc/release-notes/TypeScript 1.1.md) -* [Breaking Changes](./doc/breaking-changes/breaking-changes.md) - * [TypeScript 3.1](./doc/breaking-changes/TypeScript 3.1.md) - * [TypeScript 2.8](./doc/breaking-changes/TypeScript 2.8.md) - * [TypeScript 2.7](./doc/breaking-changes/TypeScript 2.7.md) - * [TypeScript 2.6](./doc/breaking-changes/TypeScript 2.6.md) - * [TypeScript 2.4](./doc/breaking-changes/TypeScript 2.4.md) - * [TypeScript 2.3](./doc/breaking-changes/TypeScript 2.3.md) - * [TypeScript 2.2](./doc/breaking-changes/TypeScript 2.2.md) - * [TypeScript 2.1](./doc/breaking-changes/TypeScript 2.1.md) - * [TypeScript 2.0](./doc/breaking-changes/TypeScript 2.0.md) - * [TypeScript 1.8](./doc/breaking-changes/TypeScript 1.8.md) - * [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) - * [TypeScript 1.4](./doc/breaking-changes/TypeScript 1.4.md) diff --git a/preface.md b/preface.md index 8e495c7..8b694ed 100644 --- a/preface.md +++ b/preface.md @@ -1,130 +1,2 @@ -# TypeScript Handbook(中文版) +# Initial page -TypeScript [TypeScript 3.0 (July 30, 2018)](https://blogs.msdn.microsoft.com/typescript/2018/07/30/announcing-typescript-3-0/) - -> 从前打心眼儿里讨厌编译成JavaScript的这类语言,像Coffee,Dart等。 -> 但是在15年春节前后却爱上了TypeScript。 -> 同时非常喜欢的框架Dojo,Angularjs也宣布使用TypeScript做新版本的开发。 -> 那么TypeScript究竟为何物?又有什么魅力呢? - -TypeScript是Microsoft公司注册商标。 - -TypeScript具有类型系统,且是JavaScript的超集。 -它可以编译成普通的JavaScript代码。 -TypeScript支持任意浏览器,任意环境,任意系统并且是开源的。 - -TypeScript目前还在积极的开发完善之中,不断地会有新的特性加入进来。 -因此本手册也会紧随官方的每个commit,不断地更新新的章节以及修改措词不妥之处。 - -如果你对TypeScript一见钟情,可以订阅~~and star~~本手册,及时了解ECMAScript 2015以及2016里新的原生特性,并借助TypeScript提前掌握使用它们的方式! -如果你对TypeScript的爱愈发浓烈,可以与楼主一起边翻译边学习,*[PRs Welcome!!!](https://github.com/zhongsp/TypeScript/pulls)* -在[相关链接](#相关链接)的末尾可以找到本手册的[Github地址](https://github.com/zhongsp/TypeScript)。 - -## 目录 - -* [快速上手](./doc/handbook/tutorials/README.html) - * [5分钟了解TypeScript](./doc/handbook/tutorials/TypeScript in 5 minutes.html) - * [ASP.NET Core](./doc/handbook/tutorials/ASP.NET Core.html) - * [ASP.NET 4](./doc/handbook/tutorials/ASP.NET 4.html) - * [Gulp](./doc/handbook/tutorials/Gulp.html) - * [Knockout.js](./doc/handbook/tutorials/Knockout.html) - * [React与webpack](./doc/handbook/tutorials/React & Webpack.html) - * [React](./doc/handbook/tutorials/React.html) - * [Angular 2](./doc/handbook/tutorials/Angular 2.html) - * [从JavaScript迁移到TypeScript](./doc/handbook/tutorials/Migrating from JavaScript.html) -* [手册](./doc/handbook/README.html) - * [基础类型](./doc/handbook/Basic Types.html) - * [变量声明](./doc/handbook/Variable Declarations.html) - * [接口](./doc/handbook/Interfaces.html) - * [类](./doc/handbook/Classes.html) - * [函数](./doc/handbook/Functions.html) - * [泛型](./doc/handbook/Generics.html) - * [枚举](./doc/handbook/Enums.html) - * [类型推论](./doc/handbook/Type Inference.html) - * [类型兼容性](./doc/handbook/Type Compatibility.html) - * [高级类型](./doc/handbook/Advanced Types.html) - * [实用工具类型](./doc/handbook/Utilit Types.html) - * [Symbols](./doc/handbook/Symbols.html) - * [Iterators 和 Generators](./doc/handbook/Iterators and Generators.html) - * [模块](./doc/handbook/Modules.html) - * [命名空间](./doc/handbook/Namespaces.html) - * [命名空间和模块](./doc/handbook/Namespaces and Modules.html) - * [模块解析](./doc/handbook/Module Resolution.html) - * [声明合并](./doc/handbook/Declaration Merging.html) - * [书写.d.ts文件](./doc/handbook/Writing Definition Files.html) - * [JSX](./doc/handbook/JSX.html) - * [Decorators](./doc/handbook/Decorators.html) - * [混入](./doc/handbook/Mixins.html) - * [三斜线指令](./doc/handbook/Triple-Slash Directives.html) - * [JavaScript文件里的类型检查](./doc/handbook/Type Checking JavaScript Files.html) -* [如何书写声明文件](./doc/handbook/declaration files/Introduction.html) - * [结构](./doc/handbook/declaration files/Library Structures.html) - * [规范](./doc/handbook/declaration files/Do's and Don'ts.html) - * [举例](./doc/handbook/declaration files/By Example.html) - * [深入](./doc/handbook/declaration files/Deep Dive.html) - * [发布](./doc/handbook/declaration files/Publishing.html) - * [使用](./doc/handbook/declaration files/Consumption.html) -* [工程配置](./doc/handbook/tsconfig.json.html) - * [tsconfig.json](./doc/handbook/tsconfig.json.html) - * [工程引用](./doc/handbook/Project References.html) - * [NPM包的类型](./doc/handbook/Typings for NPM Packages.html) - * [编译选项](./doc/handbook/Compiler Options.html) - * [配置 Watch](./doc/handbook/Configuring Watch.html) - * [在MSBuild里使用编译选项](./doc/handbook/Compiler Options in MSBuild.html) - * [与其它构建工具整合](./doc/handbook/Integrating with Build Tools.html) - * [使用TypeScript的每日构建版本](./doc/handbook/Nightly Builds.html) -* [Wiki](./doc/wiki/README.html) - * [TypeScript里的this](./doc/wiki/this-in-TypeScript.html) - * [编码规范](./doc/wiki/coding_guidelines.html) - * [常见编译错误](./doc/wiki/Common Errors.html) - * [支持TypeScript的编辑器](./doc/wiki/TypeScript-Editor-Support.html) - * [结合ASP.NET v5使用TypeScript](./doc/wiki/Using-TypeScript-With-ASP.NET-5.html) - * [架构概述](./doc/wiki/Architectural-Overview.html) - * [发展路线图](./doc/wiki/Roadmap.html) -* [新增功能](./doc/release-notes/README.html) - * [TypeScript 3.1](./doc/release-notes/TypeScript 3.1.html) - * [TypeScript 3.0](./doc/release-notes/TypeScript 3.0.html) - * [TypeScript 2.9](./doc/release-notes/TypeScript 2.9.html) - * [TypeScript 2.8](./doc/release-notes/TypeScript 2.8.html) - * [TypeScript 2.7](./doc/release-notes/TypeScript 2.7.html) - * [TypeScript 2.6](./doc/release-notes/TypeScript 2.6.html) - * [TypeScript 2.5](./doc/release-notes/TypeScript 2.5.html) - * [TypeScript 2.4](./doc/release-notes/TypeScript 2.4.html) - * [TypeScript 2.3](./doc/release-notes/TypeScript 2.3.html) - * [TypeScript 2.2](./doc/release-notes/TypeScript 2.2.html) - * [TypeScript 2.1](./doc/release-notes/TypeScript 2.1.html) - * [TypeScript 2.0](./doc/release-notes/TypeScript 2.0.html) - * [TypeScript 1.8](./doc/release-notes/TypeScript 1.8.html) - * [TypeScript 1.7](./doc/release-notes/TypeScript 1.7.html) - * [TypeScript 1.6](./doc/release-notes/TypeScript 1.6.html) - * [TypeScript 1.5](./doc/release-notes/TypeScript 1.5.html) - * [TypeScript 1.4](./doc/release-notes/TypeScript 1.4.html) - * [TypeScript 1.3](./doc/release-notes/TypeScript 1.3.html) - * [TypeScript 1.1](./doc/release-notes/TypeScript 1.1.html) -* [Breaking Changes](./doc/breaking-changes/breaking-changes.html) - * [TypeScript 3.1](./doc/breaking-changes/TypeScript 3.1.html) - * [TypeScript 2.8](./doc/breaking-changes/TypeScript 2.8.html) - * [TypeScript 2.7](./doc/breaking-changes/TypeScript 2.7.html) - * [TypeScript 2.6](./doc/breaking-changes/TypeScript 2.6.html) - * [TypeScript 2.4](./doc/breaking-changes/TypeScript 2.4.html) - * [TypeScript 2.3](./doc/breaking-changes/TypeScript 2.3.html) - * [TypeScript 2.2](./doc/breaking-changes/TypeScript 2.2.html) - * [TypeScript 2.1](./doc/breaking-changes/TypeScript 2.1.html) - * [TypeScript 2.0](./doc/breaking-changes/TypeScript 2.0.html) - * [TypeScript 1.8](./doc/breaking-changes/TypeScript 1.8.html) - * [TypeScript 1.7](./doc/breaking-changes/TypeScript 1.7.html) - * [TypeScript 1.6](./doc/breaking-changes/TypeScript 1.6.html) - * [TypeScript 1.5](./doc/breaking-changes/TypeScript 1.5.html) - * [TypeScript 1.4](./doc/breaking-changes/TypeScript 1.4.html) - -## 最新修改 - -* 2018-08-15 新增章节:[工程引用](./doc/handbook/Project References.html) -* [TypeScript 3.0](./doc/release-notes/TypeScript 3.0.html) - -## 相关链接 - -* [TypeScript官网](http://typescriptlang.org) -* [TypeScript on Github](https://github.com/Microsoft/TypeScript) -* [TypeScript语言规范](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.html) -* [本手册中文版Github地址](https://github.com/zhongsp/TypeScript)