fix:spell checker (#6982)

Co-authored-by: hakim <hakim.lu@yunlsp.com>
This commit is contained in:
HakimLu 2022-10-28 15:29:30 +08:00 committed by GitHub
parent bbb66d7ac7
commit 3bed82be32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ export type UnionToIntersection<U> = (
// make keys required but keep undefined values
export type LooseRequired<T> = { [P in keyof (T & Required<T>)]: 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<T, Y, N> = 0 extends 1 & T ? Y : N