diff --git a/types/global.d.ts b/types/global.d.ts index e73f3077e..0b7c597e4 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 12f00f5be..16dfae441 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;