From 2e570617666983ababcfd167dfa50208f5dfd45a Mon Sep 17 00:00:00 2001 From: Caichong <951412526@qq.com> Date: Wed, 14 Dec 2022 16:43:02 +0800 Subject: [PATCH] chore: comment typos (#12878) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 方恒 --- types/common.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/common.d.ts b/types/common.d.ts index 3165711c7..01d1efbfc 100644 --- a/types/common.d.ts +++ b/types/common.d.ts @@ -14,7 +14,7 @@ type Equal = export type HasDefined = Equal extends true ? false : true -// 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