Skip to content

Commit d29bcc6

Browse files
committed
Add type-of-class
1 parent b72c76b commit d29bcc6

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [对象的类型——接口](basics/type-of-object-interfaces.md)
1414
- [数组的类型](basics/type-of-array.md)
1515
- [函数的类型](basics/type-of-function.md)
16+
- [类的类型](basics/type-of-class.md)
1617
- [声明文件(.d.ts)](basics/declaration-files.md)
1718
- [内置对象](basics/built-in-objects.md)
1819
- 进阶(未完成)

advanced/enum.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ enum Color {Red = "red".length, Green, Blue};
140140

141141
所有其它情况的枚举成员被当作是需要计算得出的值。
142142

143+
## 常数枚举
144+
145+
TBD
146+
147+
## 外部枚举
148+
149+
TBD
150+
143151
## Links
144152

145153
- [Handbook - Enums](http://www.typescriptlang.org/docs/handbook/enums.html)

basics/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
- [对象的类型——接口](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/type-of-object-interfaces.html)
1010
- [数组的类型](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/type-of-array.html)
1111
- [函数的类型](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/type-of-function.html)
12+
- [类的类型](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/type-of-class.html)
1213
- [声明文件(.d.ts)](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/declaration-files.html)
1314
- [内置对象](https://xcatliu.gitbooks.io/from-javascript-to-typescript/content/basics/built-in-objects.md)

basics/type-of-class.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 类的类型
2+
3+
TBD
4+
5+
## Links
6+
7+
- [Handbook - Classes](http://www.typescriptlang.org/docs/handbook/classes.html)
8+
- [中文手册 - 类](https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Classes.html)

0 commit comments

Comments
 (0)