瀏覽代碼

chore: fix typo in utils.ts (#12927) [skip ci]

星宿君 3 年之前
父節點
當前提交
d52fbff7a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/types/utils.ts

+ 1 - 1
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<T, Y, N> = 0 extends 1 & T ? Y : N