Skip to content

Commit a5d1d33

Browse files
authored
Update typing for the resetValidity action
1 parent e0949e8 commit a5d1d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-redux-form.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ interface Actions {
10811081
* Can be dispatched to reset the validity and errors of any model at any time.
10821082
* @param model The model
10831083
*/
1084-
resetValidity: (model: string) => ActionThunk;
1084+
resetValidity: (model: string) => FieldAction;
10851085
/**
10861086
* Can be dispatched to reset the validity and errors of any model at any time.
10871087
* @param model The model

0 commit comments

Comments
 (0)