diff --git a/packages/core/src/App.ts b/packages/core/src/App.ts index 36d11c7d..90442270 100644 --- a/packages/core/src/App.ts +++ b/packages/core/src/App.ts @@ -30,7 +30,7 @@ import Node from './Node'; import Page from './Page'; import { transformStyle as defaultTransformStyle } from './utils'; -interface AppOptionsConfig { +export interface AppOptionsConfig { ua?: string; config?: MApp; platform?: 'editor' | 'mobile' | 'tv' | 'pc'; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index aab4cb19..743f1800 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -26,6 +26,7 @@ export * from '@tmagic/utils'; export { default as EventHelper } from './EventHelper'; export * from './utils'; +export { type AppOptionsConfig } from './App'; export { default as Env } from './Env'; export { default as Page } from './Page'; export { default as Node } from './Node';