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

pull/15/head
puhui999 2023-03-06 11:44:33 +08:00
parent 73de987443
commit 0c34ce1962
1 changed files with 1 additions and 0 deletions

1
types/global.d.ts vendored
View File

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