Fix typo on unions section. PR501
This commit is contained in:
parent
b4fcacb4ab
commit
858544fa91
@ -199,7 +199,7 @@ interface Moment {
|
||||
}
|
||||
```
|
||||
|
||||
*应该*尽可能使用类型类型:
|
||||
*应该*尽可能地使用类型类型:
|
||||
|
||||
```ts
|
||||
/* OK */
|
||||
@ -221,4 +221,4 @@ function fn(x: number|string) {
|
||||
// When written with union types, correctly OK
|
||||
return moment().utcOffset(x);
|
||||
}
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user