mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Removed Partial from onSubmit values (#24816)
see iss: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24376
This commit is contained in:
2
types/redux-form/lib/reduxForm.d.ts
vendored
2
types/redux-form/lib/reduxForm.d.ts
vendored
@@ -18,7 +18,7 @@ import {
|
||||
} from "../index";
|
||||
|
||||
export type FormSubmitHandler<FormData = {}, P = {}> =
|
||||
(values: Partial<FormData>, dispatch: Dispatch<any>, props: P) => void | FormErrors<FormData> | Promise<any>;
|
||||
(values: FormData, dispatch: Dispatch<any>, props: P) => void | FormErrors<FormData> | Promise<any>;
|
||||
|
||||
export interface SubmitHandler<FormData = {}, P = {}> {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user