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

Skip to content

Commit f7a7bd9

Browse files
authored
Merge pull request xcatliu#30 from Maecenas/master
Fix typo in typescript
2 parents 36a9e5e + b2ee208 commit f7a7bd9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

basics/primitive-data-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var sentence = "Hello, my name is " + myName + ".\nI'll be " + (myAge + 1) + " y
9696

9797
## 空值
9898

99-
JavaScript 没有空值(Void)的概念,在 TypeScirpt 中,可以用 `void` 表示没有任何返回值的函数:
99+
JavaScript 没有空值(Void)的概念,在 TypeScript 中,可以用 `void` 表示没有任何返回值的函数:
100100

101101
```ts
102102
function alertName(): void {

engineering/lint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ module.exports = {
184184

185185
规则的取值一般是一个数组(上例中的 `eqeqeq`),其中第一项是 `off``warn``error` 中的一个,表示关闭、警告和报错。后面的项都是该规则的其他配置。
186186

187-
如果没有其他配置的话,则可以将规则的取值简写为数组中的第一项(上例中的 `typescirpt/class-name-casing`)。
187+
如果没有其他配置的话,则可以将规则的取值简写为数组中的第一项(上例中的 `typescript/class-name-casing`)。
188188

189189
关闭、警告和报错的含义如下:
190190

@@ -361,7 +361,7 @@ npm install --save-dev eslint-plugin-react
361361

362362
[AlloyTeam ESLint 规则中的 TypeScript React 版本](https://github.com/AlloyTeam/eslint-config-alloy#typescript-react)
363363

364-
## TypeScirpt 中使用 TSLint
364+
## TypeScript 中使用 TSLint
365365

366366
TSLint 的使用比较简单,参考[官网的步骤](https://palantir.github.io/tslint/)安装到本地即可:
367367

thanks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
-[GitHub](https://github.com/xcatliu/typescript-tutorial) 上关注本书
1212
- 阅读[官方手册](http://www.typescriptlang.org/docs/handbook/basic-types.html)[中文版](https://zhongsp.gitbooks.io/typescript-handbook/content/))巩固知识
13-
- 阅读 [Project Configuration](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html)[中文版](https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/tsconfig.json.html)) 学习如何配置 TypeScirpt 工程
13+
- 阅读 [Project Configuration](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html)[中文版](https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/tsconfig.json.html)) 学习如何配置 TypeScript 工程
1414
- 查看[官方示例](http://www.typescriptlang.org/samples/index.html),学习真实项目
1515

1616
---

0 commit comments

Comments
 (0)