diff --git a/packages/fineui/typescript/bundle.ts b/packages/fineui/typescript/bundle.ts index fb4e34400..174fa3e6e 100644 --- a/packages/fineui/typescript/bundle.ts +++ b/packages/fineui/typescript/bundle.ts @@ -1,3 +1,5 @@ -// import fineui from "./index"; - -// BI.extend(BI, fineui); +import { Workers } from "./core/worker/workers"; +// 仅Workers是ts实现的代码,所以要挂载到BI上 +BI?.extend(BI, { + Workers: Workers +}); \ No newline at end of file