Skip to content

Commit 2626977

Browse files
committed
fix(typescript.md): 修正了一个笔误
1 parent e5753b6 commit 2626977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/es6/typeScript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const result1: intersection = {
227227

228228
### 联合类型
229229

230-
交叉类型(Union Types),表示一个值可以是几种类型之一。 我们用竖线 | 分隔每个类型,所以 number | string | boolean表示一个值可以是 number, string,或 boolean
230+
联合类型(Union Types),表示一个值可以是几种类型之一。 我们用竖线 | 分隔每个类型,所以 number | string | boolean表示一个值可以是 number, string,或 boolean
231231

232232
```js
233233
type arg = string | number | boolean

0 commit comments

Comments
 (0)