This repository was archived by the owner on Aug 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1043,15 +1043,15 @@ interface Actions {
10431043 * @param model The top level form model
10441044 * @param fieldsValidity An object where the keys are field paths and the value is validity object
10451045 */
1046- setFieldsValidity : ( model : string | ModelGetterFn , fieldsValidity : FieldsObject < ValidityObject | boolean > ) => FieldAction ;
1046+ setFieldsValidity : ( model : string | ModelGetterFn , fieldsValidity : FieldsObject < ValidityObject > ) => FieldAction ;
10471047
10481048 /**
10491049 * This action allows you to set the errors for multiple submodels of a model at the same time. Similar to setFieldsValidity but for errors
10501050 * @param model The top level form model
10511051 * @param fieldsErrors An object where the keys are field paths and the value is error object
10521052 * @param options { async: true } if the error is an error from async validation.
10531053 */
1054- setFieldsErrors : ( model : string | ModelGetterFn , fieldsErrors : FieldsObject < ErrorsObject | boolean | string > , options ?: SetErrorsOptions ) => FieldAction ;
1054+ setFieldsErrors : ( model : string | ModelGetterFn , fieldsErrors : FieldsObject < ErrorsObject > , options ?: SetErrorsOptions ) => FieldAction ;
10551055
10561056
10571057
You can’t perform that action at this time.
0 commit comments