Skip to content

Commit 2e57061

Browse files
FlyingCaiChong方恒
and
方恒
authored
chore: comment typos (#12878)
Co-authored-by: 方恒 <[email protected]>
1 parent ca11dc6 commit 2e57061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/common.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Equal<Left, Right> =
1414

1515
export type HasDefined<T> = Equal<T, unknown> extends true ? false : true
1616

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

0 commit comments

Comments
 (0)