We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca11dc6 commit 2e57061Copy full SHA for 2e57061
types/common.d.ts
@@ -14,7 +14,7 @@ type Equal<Left, Right> =
14
15
export type HasDefined<T> = Equal<T, unknown> extends true ? false : true
16
17
-// 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.
18
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
19
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N
20
0 commit comments