We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e8511a commit d52fbffCopy full SHA for d52fbff
src/types/utils.ts
@@ -1,3 +1,3 @@
1
-// 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.
2
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
3
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N
0 commit comments