From 1b19290993e68920c4123aea25980ae335ca3f41 Mon Sep 17 00:00:00 2001 From: yyc <395976266@qq.com> Date: Sat, 4 Feb 2017 17:54:55 +0800 Subject: [PATCH] fix: fix wonder-commonlib,wonder-frp->index.d.ts->global type --- wonder-commonlib/index.d.ts | 5 +++-- wonder-frp/index.d.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wonder-commonlib/index.d.ts b/wonder-commonlib/index.d.ts index 464b6ada4e..9c6881920d 100644 --- a/wonder-commonlib/index.d.ts +++ b/wonder-commonlib/index.d.ts @@ -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 // 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; } diff --git a/wonder-frp/index.d.ts b/wonder-frp/index.d.ts index c7459d6690..bb9b146112 100644 --- a/wonder-frp/index.d.ts +++ b/wonder-frp/index.d.ts @@ -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 // 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; }