修复编译器全局类型找不到报错的问题
This commit is contained in:
parent
73de987443
commit
0c34ce1962
1
types/global.d.ts
vendored
1
types/global.d.ts
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user