From: HakimLu Date: Fri, 28 Oct 2022 07:29:30 +0000 (+0800) Subject: fix:spell checker (#6982) X-Git-Tag: v3.2.42~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bed82be3224db57e1da7f53bf1bc2ac963d250f;p=thirdparty%2Fvuejs%2Fcore.git fix:spell checker (#6982) Co-authored-by: hakim --- diff --git a/packages/shared/src/typeUtils.ts b/packages/shared/src/typeUtils.ts index 3f3620c667..0d767469b4 100644 --- a/packages/shared/src/typeUtils.ts +++ b/packages/shared/src/typeUtils.ts @@ -7,6 +7,6 @@ export type UnionToIntersection = ( // make keys required but keep undefined values export type LooseRequired = { [P in keyof (T & Required)]: T[P] } -// If the the type T accepts type "any", output type Y, otherwise output type N. +// If the type T accepts type "any", output type Y, otherwise output type N. // https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360 export type IfAny = 0 extends 1 & T ? Y : N