Skip to content

Commit d52fbff

Browse files
authored
chore: fix typo in utils.ts (vuejs#12927) [skip ci]
1 parent 0e8511a commit d52fbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// If the the type T accepts type "any", output type Y, otherwise output type N.
1+
// If the type T accepts type "any", output type Y, otherwise output type N.
22
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
33
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N

0 commit comments

Comments
 (0)