소스 검색

修复编译器全局类型找不到报错的问题

puhui999 2 년 전
부모
커밋
0c34ce1962
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      types/global.d.ts

+ 1 - 0
types/global.d.ts

@@ -1,3 +1,4 @@
+export {}
 declare global {
   declare interface Fn<T = any> {
     (...arg: T[]): T