Skip to content

Commit 3bed82b

Browse files
HakimLuhakim
and
hakim
authored
fix:spell checker (#6982)
Co-authored-by: hakim <[email protected]>
1 parent bbb66d7 commit 3bed82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/typeUtils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export type UnionToIntersection<U> = (
77
// make keys required but keep undefined values
88
export type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] }
99

10-
// If the the type T accepts type "any", output type Y, otherwise output type N.
10+
// If the type T accepts type "any", output type Y, otherwise output type N.
1111
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
1212
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N

0 commit comments

Comments
 (0)