Переглянути джерело

chore: comment typos (#12878)

Co-authored-by: 方恒 <fangheng@shwpg.com>
Caichong 3 роки тому
батько
коміт
2e57061766
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      types/common.d.ts

+ 1 - 1
types/common.d.ts

@@ -14,7 +14,7 @@ type Equal<Left, Right> =
 
 export type HasDefined<T> = Equal<T, unknown> 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<T, Y, N> = 0 extends 1 & T ? Y : N