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 {
1043
1043
* @param model The top level form model
1044
1044
* @param fieldsValidity An object where the keys are field paths and the value is validity object
1045
1045
*/
1046
- setFieldsValidity : ( model : string | ModelGetterFn , fieldsValidity : FieldsObject < ValidityObject | boolean > ) => FieldAction ;
1046
+ setFieldsValidity : ( model : string | ModelGetterFn , fieldsValidity : FieldsObject < ValidityObject > ) => FieldAction ;
1047
1047
1048
1048
/**
1049
1049
* This action allows you to set the errors for multiple submodels of a model at the same time. Similar to setFieldsValidity but for errors
1050
1050
* @param model The top level form model
1051
1051
* @param fieldsErrors An object where the keys are field paths and the value is error object
1052
1052
* @param options { async: true } if the error is an error from async validation.
1053
1053
*/
1054
- setFieldsErrors : ( model : string | ModelGetterFn , fieldsErrors : FieldsObject < ErrorsObject | boolean | string > , options ?: SetErrorsOptions ) => FieldAction ;
1054
+ setFieldsErrors : ( model : string | ModelGetterFn , fieldsErrors : FieldsObject < ErrorsObject > , options ?: SetErrorsOptions ) => FieldAction ;
1055
1055
1056
1056
1057
1057
You can’t perform that action at this time.
0 commit comments