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

This commit is contained in:
puhui999 2023-03-06 11:44:33 +08:00
parent 73de987443
commit 0c34ce1962

1
types/global.d.ts vendored
View File

@ -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