fix: 修正ts报错

Change-Id: I70d74f7390ba5fd50373af5ab1aeb544666ae877
This commit is contained in:
wibetter 2022-07-17 23:16:56 +08:00
parent 526d911885
commit d297a66f1c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ interface EventControlProps extends FormControlProps {
) => void;
addBroadcast?: (event: RendererPluginEvent) => void;
removeBroadcast?: (eventName: string) => void;
getComponents: (action: RendererPluginAction) => ComponentInfo[]; // 当前页面组件树
getComponents: (action: any) => ComponentInfo[]; // 当前页面组件树
getContextSchemas?: (id?: string, withoutSuper?: boolean) => DataSchema; // 获取上下文
actionConfigInitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置初始化时格式化
actionConfigSubmitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置提交时格式化

View File

@ -49,7 +49,7 @@ export interface Validator {
/**
*
*/
schema?: SchemaObject[];
schema?: any[];
/**
* true则表示是默认