diff --git a/packages/lib/vue3/vue3-form-ant/types/modelValueComponent.d.ts b/packages/lib/vue3/vue3-form-ant/types/modelValueComponent.d.ts index cfe38734..39ab49a9 100644 --- a/packages/lib/vue3/vue3-form-ant/types/modelValueComponent.d.ts +++ b/packages/lib/vue3/vue3-form-ant/types/modelValueComponent.d.ts @@ -1,10 +1,8 @@ declare function modelValueComponent( baseComponent: object | String | Function, - options: { - model: String - }, - rootSchema: object, - includeUndefinedValues?: boolean, + options?: { + model?: String + } ): any; export default modelValueComponent; diff --git a/packages/lib/vue3/vue3-form-naive/types/index.d.ts b/packages/lib/vue3/vue3-form-naive/types/index.d.ts index f5bc76a3..ec7d24ba 100644 --- a/packages/lib/vue3/vue3-form-naive/types/index.d.ts +++ b/packages/lib/vue3/vue3-form-naive/types/index.d.ts @@ -1,5 +1,6 @@ import JsonSchemaForm from './vueForm'; import getDefaultFormState from './getDefaultFormState'; +import modelValueComponent from './modelValueComponent'; import fieldProps from './fieldProps'; import vueUtils from './vueUtils'; import formUtils from './formUtils'; @@ -16,7 +17,8 @@ export { vueUtils, formUtils, schemaValidate, - i18n + i18n, + modelValueComponent }; export class SchemaField {} diff --git a/packages/lib/vue3/vue3-form-naive/types/modelValueComponent.d.ts b/packages/lib/vue3/vue3-form-naive/types/modelValueComponent.d.ts new file mode 100644 index 00000000..39ab49a9 --- /dev/null +++ b/packages/lib/vue3/vue3-form-naive/types/modelValueComponent.d.ts @@ -0,0 +1,8 @@ +declare function modelValueComponent( + baseComponent: object | String | Function, + options?: { + model?: String + } +): any; + +export default modelValueComponent;