Skip to content

Commit 682c300

Browse files
authored
Merge pull request #145 from tjinauyeung/fix/140-add-missing-argument-to-type-signature
2 parents f458c85 + 5fa6dbf commit 682c300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ type FormState<Inf = Record<string, any>> = {
5454
isValidating: boolean;
5555
isModified: boolean;
5656
}>;
57-
handleChange: () => any;
58-
handleSubmit: () => any;
57+
handleChange: (event: Event) => any;
58+
handleSubmit: (event: Event) => any;
5959
};
6060

6161
declare function createForm<Inf = Record<string, any>>(formProps: {

0 commit comments

Comments
 (0)