Skip to content

Commit

Permalink
refactor(types): core 导出 AppOptionsConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aldlss authored and jia000 committed Sep 9, 2024
1 parent a1f3b6a commit 7a0e03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 7a0e03d

Please sign in to comment.