This website works better with JavaScript
Home
Explore
Help
Sign In
zhengnaiwen_citu
/
menduner
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
修复编译器全局类型找不到报错的问题
puhui999
2 years ago
parent
73de987443
commit
0c34ce1962
1 changed files
with
1 additions
and
0 deletions
Unified View
Show Diff Stats
1
0
types/global.d.ts
+ 1
- 0
types/global.d.ts
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