From 33928d91cd377e02fdf9b035a8871b6bcda1129a Mon Sep 17 00:00:00 2001 From: pobu168 <244202969@qq.com> Date: 2020年12月29日 16:46:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(typeScript.md)=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/es6/typeScript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/es6/typeScript.md b/docs/es6/typeScript.md index 1e1243d3..a1db1f32 100644 --- a/docs/es6/typeScript.md +++ b/docs/es6/typeScript.md @@ -298,7 +298,7 @@ export function defineComponent(options: unknown) { ``` -交叉类型(Union Types),表示一个值可以是几种类型之一。 我们用竖线 | 分隔每个类型,所以 number | string | boolean表示一个值可以是 number, string,或 boolean +联合类型(Union Types),表示一个值可以是几种类型之一。 我们用竖线 | 分隔每个类型,所以 number | string | boolean表示一个值可以是 number, string,或 boolean ```js type arg = string | number | boolean