Skip to content

Commit

Permalink
refactor: align with the new TypeScript doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongsp committed Feb 12, 2021
1 parent 9c12079 commit 3bf6d5f
Show file tree
Hide file tree
Showing 19 changed files with 48 additions and 44 deletions.
41 changes: 22 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,30 @@
* [从JavaScript迁移到TypeScript](tutorials/migrating-from-javascript.md)
* [手册](handbook/README.md)
* [基础类型](handbook/basic-types.md)
* [变量声明](handbook/variable-declarations.md)
* [接口](handbook/interfaces.md)
* [](handbook/classes.md)
* [函数](handbook/functions.md)
* [字面量类型](handbook/literal-types.md)
* [泛型](handbook/generics.md)
* _@todo 联合类型和交叉类型_
* [](handbook/classes.md)
* [枚举](handbook/enums.md)
* [类型推论](handbook/type-inference.md)
* [类型兼容性](handbook/type-compatibility.md)
* [高级类型](handbook/advanced-types.md)
* [Symbols](handbook/symbols.md)
* [Iterators 和 Generators](handbook/iterators-and-generators.md)
* [模块](handbook/modules.md)
* [命名空间](handbook/namespaces.md)
* [命名空间和模块](handbook/namespaces-and-modules.md)
* [模块解析](handbook/module-resolution.md)
* [声明合并](handbook/declaration-merging.md)
* [JSX](handbook/jsx.md)
* [Decorators](handbook/decorators.md)
* [混入](handbook/mixins.md)
* [三斜线指令](handbook/triple-slash-directives.md)
* [JavaScript文件里的类型检查](javascript/type-checking-javascript-files.md)
* [实用工具类型](handbook/utility-types.md)
* [泛型](handbook/generics.md)
* [手册(进阶)](reference/README.md)
* [高级类型](reference/advanced-types.md)
* [实用工具类型](reference/utility-types.md)
* [Decorators](reference/decorators.md)
* [声明合并](reference/declaration-merging.md)
* [Iterators 和 Generators](reference/iterators-and-generators.md)
* [JSX](reference/jsx.md)
* [混入](reference/mixins.md)
* [模块](reference/modules.md)
* [模块解析](reference/module-resolution.md)
* [命名空间](reference/namespaces.md)
* [命名空间和模块](reference/namespaces-and-modules.md)
* [Symbols](reference/symbols.md)
* [三斜线指令](reference/triple-slash-directives.md)
* [类型兼容性](reference/type-compatibility.md)
* [类型推论](reference/type-inference.md)
* [变量声明](reference/variable-declarations.md)
* [如何书写声明文件](declaration-files/README.md)
* [介绍](declaration-files/introduction.md)
* [库结构](declaration-files/library-structures.md)
Expand All @@ -60,6 +61,8 @@
* [模板](declaration-files/templates.md)
* [发布](declaration-files/publishing.md)
* [使用](declaration-files/consumption.md)
* JavaScript
* [JavaScript文件里的类型检查](javascript/type-checking-javascript-files.md)
* [工程配置](project-config/README.md)
* [tsconfig.json](project-config/tsconfig.json.md)
* [工程引用](project-config/project-references.md)
Expand Down
33 changes: 8 additions & 25 deletions handbook/README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
# 手册

* [基础类型](basic-types.md)
* [变量声明](variable-declarations.md)
* [接口](interfaces.md)
* [](classes.md)
* [函数](functions.md)
* [字面量类型](literal-types.md)
* [泛型](generics.md)
* [枚举](enums.md)
* [类型推论](type-inference.md)
* [类型兼容性](type-compatibility.md)
* [高级类型](advanced-types.md)
* [Symbols](symbols.md)
* [Iterators 和 Generators](iterators-and-generators.md)
* [模块](modules.md)
* [命名空间](namespaces.md)
* [命名空间和模块](namespaces-and-modules.md)
* [模块解析](module-resolution.md)
* [声明合并](declaration-merging.md)
* [书写.d.ts文件]()
* [JSX](jsx.md)
* [Decorators](decorators.md)
* [混入](mixins.md)
* [三斜线指令](triple-slash-directives.md)
* [JavaScript文件里的类型检查](../javascript/type-checking-javascript-files.md)

- [基础类型](handbook/basic-types.md)
- [接口](handbook/interfaces.md)
- [函数](handbook/functions.md)
- [字面量类型](handbook/literal-types.md)
- _@todo 联合类型和交叉类型_
- [](handbook/classes.md)
- [枚举](handbook/enums.md)
- [泛型](handbook/generics.md)
18 changes: 18 additions & 0 deletions reference/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
手册(进阶)

- [高级类型](reference/advanced-types.md)
- [声明合并](reference/declaration-merging.md)
- [Decorators](reference/decorators.md)
- [Iterators 和 Generators](reference/iterators-and-generators.md)
- [JSX](reference/jsx.md)
- [混入](reference/mixins.md)
- [模块](reference/modules.md)
- [命名空间](reference/namespaces.md)
- [命名空间和模块](reference/namespaces-and-modules.md)
- [模块解析](reference/module-resolution.md)
- [Symbols](reference/symbols.md)
- [三斜线指令](reference/triple-slash-directives.md)
- [类型兼容性](reference/type-compatibility.md)
- [类型推论](reference/type-inference.md)
- [实用工具类型](reference/utility-types.md)
- [变量声明](reference/variable-declarations.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3bf6d5f

Please sign in to comment.