Skip to content

Commit

Permalink
Merge pull request #145 from tjinauyeung/fix/140-add-missing-argument…
Browse files Browse the repository at this point in the history
…-to-type-signature
  • Loading branch information
larrybotha authored Nov 7, 2021
2 parents f458c85 + 5fa6dbf commit 682c300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ type FormState<Inf = Record<string, any>> = {
isValidating: boolean;
isModified: boolean;
}>;
handleChange: () => any;
handleSubmit: () => any;
handleChange: (event: Event) => any;
handleSubmit: (event: Event) => any;
};

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

0 comments on commit 682c300

Please sign in to comment.