fix: fix wonder-commonlib,wonder-frp->index.d.ts->global type

This commit is contained in:
yyc
2017-02-04 17:54:55 +08:00
parent 523089f062
commit 1b19290993
2 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// Type definitions for wonder-commonlib 0.1
// Type definitions for wonder-commonlib 0.1.1
// Project: https://github.com/yyc-git/Wonder-CommonLib
// Definitions by: YYC <https://github.com/yyc-git>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -21,7 +21,8 @@ declare module wdCb {
}
}
declare var global: any, window: Window;
declare var global:NodeJS.Global,window:Window;
declare module wdCb {
var root: any;
}

View File

@@ -1,4 +1,4 @@
// Type definitions for wonder-frp 0.1
// Type definitions for wonder-frp 0.1.1
// Project: https://github.com/yyc-git/Wonder-FRP
// Definitions by: YYC <https://github.com/yyc-git>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -103,7 +103,7 @@ declare module wdFrp {
}
}
declare var global: any, window: Window;
declare var global:NodeJS.Global,window:Window;
declare module wdFrp {
var root: any;
}