File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ type FormMessage<Values extends FormValues> =
103
103
type : ACTION_TYPE . SET_FIELD_ERROR ;
104
104
payload : {
105
105
path : string ;
106
- error : FormErrors < PathValue < Values , Path < Values > > > | string | string [ ] ;
106
+ error : FieldError < PathValue < Values , Path < Values > > > | string | string [ ] ;
107
107
} ;
108
108
}
109
109
| { type : ACTION_TYPE . SET_ISSUBMITTING ; payload : boolean }
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export type UseFormSetFieldError<Values extends FormValues> = <
111
111
Name extends Path < Values > ,
112
112
> (
113
113
name : Name ,
114
- error : FormErrors < PathValue < Values , Name > > | string | string [ ] ,
114
+ error : FieldError < PathValue < Values , Name > > | string | string [ ] ,
115
115
) => void ;
116
116
117
117
export interface FormResetState < Values extends FormValues = FormValues > {
You can’t perform that action at this time.
0 commit comments