Browse Source

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

puhui999 2 years ago
parent
commit
0c34ce1962
1 changed files with 1 additions and 0 deletions
  1. 1 0
      types/global.d.ts

+ 1 - 0
types/global.d.ts

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