Skip to content

Commit

Permalink
Fix wording in Generics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongsp committed Mar 5, 2016
1 parent a35c965 commit 6e1f6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/handbook/Generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ myGenericNumber.zeroValue = 0;
myGenericNumber.add = function(x, y) { return x + y; };
```

`GenericNumber`类的使用是十分直观的,并且你应该注意到了我们并不限制只能使用数字类型
`GenericNumber`类的使用是十分直观的,并且你可能已经注意到了,没有什么去限制它只能使用`number`类型
也可以使用字符串或其它更复杂的类型。

```ts
Expand Down

0 comments on commit 6e1f6e6

Please sign in to comment.