We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbb66d7 commit 3bed82bCopy full SHA for 3bed82b
packages/shared/src/typeUtils.ts
@@ -7,6 +7,6 @@ export type UnionToIntersection<U> = (
7
// make keys required but keep undefined values
8
export type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] }
9
10
-// 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.
11
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
12
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N
0 commit comments