mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-05 03:16:37 +08:00
refactor(types): core 导出 AppOptionsConfig
This commit is contained in:
parent
c343fe4775
commit
dbb58e507d
@ -30,7 +30,7 @@ import Node from './Node';
|
|||||||
import Page from './Page';
|
import Page from './Page';
|
||||||
import { transformStyle as defaultTransformStyle } from './utils';
|
import { transformStyle as defaultTransformStyle } from './utils';
|
||||||
|
|
||||||
interface AppOptionsConfig {
|
export interface AppOptionsConfig {
|
||||||
ua?: string;
|
ua?: string;
|
||||||
config?: MApp;
|
config?: MApp;
|
||||||
platform?: 'editor' | 'mobile' | 'tv' | 'pc';
|
platform?: 'editor' | 'mobile' | 'tv' | 'pc';
|
||||||
|
|||||||
@ -26,6 +26,7 @@ export * from '@tmagic/utils';
|
|||||||
export { default as EventHelper } from './EventHelper';
|
export { default as EventHelper } from './EventHelper';
|
||||||
export * from './utils';
|
export * from './utils';
|
||||||
|
|
||||||
|
export { type AppOptionsConfig } from './App';
|
||||||
export { default as Env } from './Env';
|
export { default as Env } from './Env';
|
||||||
export { default as Page } from './Page';
|
export { default as Page } from './Page';
|
||||||
export { default as Node } from './Node';
|
export { default as Node } from './Node';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user