From c3ab1d7a9f498aec612a66597c3e239d55472680 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 30 Sep 2019 16:38:11 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=AF=BC=E5=87=BA=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/global.d.ts | 4 ++-- typescript/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/global.d.ts b/types/global.d.ts index e73f3077e2..0b7c597e47 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -2,9 +2,9 @@ interface Obj { [key: string]: any; } -// declare let BI: Obj & import("../typescript/index")._BI; +declare let BI: Obj & import("../typescript/index")._BI; -declare let BI: Obj; +// declare let BI: Obj; declare const Fix: Obj; diff --git a/typescript/index.ts b/typescript/index.ts index 12f00f5bec..16dfae4411 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -42,4 +42,4 @@ export interface _BI extends _func, _i18n, _base { BI = BI.extend(BI, { Decorators: decorator, -}); +}) as any;