Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 257a87f

Browse files
committed
Fix links
1 parent 5a49e23 commit 257a87f

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

basics/built-in-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Node.js 不是内置对象的一部分,如果想用 TypeScript 写 Node.js,
9696
npm install @types/node --save-dev
9797
```
9898

99-
## Links
99+
## 参考
100100

101101
- [内置对象][]
102102
- [TypeScript 核心库的定义文件][]

basics/declaration-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

basics/type-of-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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#数组类型)

basics/union-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

examples/playground/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"compilerOptions": {
3+
"noEmitOnError": false
4+
}
5+
}

0 commit comments

Comments
 (0)