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,
9696npm install @types/node --save-dev
9797```
9898
99- ## Links
99+ ## 参考
100100
101101- [ 内置对象] [ ]
102102- [ TypeScript 核心库的定义文件] [ ]
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ npm install @types/jquery --save-dev
7272
7373可以在[ 这个页面] ( http://microsoft.github.io/TypeSearch/ ) 搜索你需要的声明文件。
7474
75- ## Links
75+ ## 参考
7676
7777- [ 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 )
7878- [ 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() {
8383
8484关于内置对象,可以参考[ 内置对象] ( ./built-in-objects.md ) 一章。
8585
86- ## Links
86+ ## 参考
8787
8888- [ 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#数组 )
8989- [ 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); // 编译时报错
6161
6262而第四行的 ` myFavoriteNumber ` 被推断成了 ` number ` ,访问它的 ` length ` 属性时就报错了。
6363
64- ## Links
64+ ## 参考
6565
6666- [ 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#联合类型 )
6767
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