Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 33928d9

Browse files
author
pobu168
committed
fix(typeScript.md) 修正一个笔误
1 parent 02875ca commit 33928d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/es6/typeScript.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export function defineComponent(options: unknown) {
298298
```
299299

300300

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

303303
```js
304304
type arg = string | number | boolean

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /