File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ Node.js 不是内置对象的一部分,如果想用 TypeScript 写 Node.js,
96
96
npm install @types/node --save-dev
97
97
```
98
98
99
- ## Links
99
+ ## 参考
100
100
101
101
- [ 内置对象] [ ]
102
102
- [ TypeScript 核心库的定义文件] [ ]
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ npm install @types/jquery --save-dev
72
72
73
73
可以在[ 这个页面] ( http://microsoft.github.io/TypeSearch/ ) 搜索你需要的声明文件。
74
74
75
- ## Links
75
+ ## 参考
76
76
77
77
- [ Writing Declaration Files] ( http://www.typescriptlang.org/docs/handbook/writing-declaration-files.html ) | [ 中文版] ( https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Writing%20Definition%20Files.html )
78
78
- [ Triple-Slash Directives] ( http://www.typescriptlang.org/docs/handbook/triple-slash-directives.html ) | [ 中文版] ( https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Triple-Slash%20Directives.html )
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function sum() {
83
83
84
84
关于内置对象,可以参考[ 内置对象] ( ./built-in-objects.md ) 一章。
85
85
86
- ## Links
86
+ ## 参考
87
87
88
88
- [ Basic Types # Array] ( http://www.typescriptlang.org/docs/handbook/basic-types.html#array ) | [ 中文版] ( https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Basic%20Types.html#数组 )
89
89
- [ Interfaces # Indexable Types] ( http://www.typescriptlang.org/docs/handbook/interfaces.html#indexable-types ) | [ 中文版] ( https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Interfaces.html#数组类型 )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ console.log(myFavoriteNumber.length); // 编译时报错
61
61
62
62
而第四行的 ` myFavoriteNumber ` 被推断成了 ` number ` ,访问它的 ` length ` 属性时就报错了。
63
63
64
- ## Links
64
+ ## 参考
65
65
66
66
- [ Advanced Types # Union Types] ( http://www.typescriptlang.org/docs/handbook/advanced-types.html#union-types ) | [ 中文版] ( https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/Advanced%20Types.html#联合类型 )
67
67
Original file line number Diff line number Diff line change 1
- {}
1
+ {
2
+ "compilerOptions" : {
3
+ "noEmitOnError" : false
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments