From d52fbff7a77d8d9c032a74a21c34e2c122add5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=AE=BF=E5=90=9B?= Date: Thu, 12 Jan 2023 22:47:00 +0800 Subject: [PATCH] chore: fix typo in utils.ts (#12927) [skip ci] --- src/types/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/utils.ts b/src/types/utils.ts index 8c77093f5ee..6f7eeeeaba6 100644 --- a/src/types/utils.ts +++ b/src/types/utils.ts @@ -1,3 +1,3 @@ -// 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. // https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360 export type IfAny = 0 extends 1 & T ? Y : N