Skip to content

Commit

Permalink
Merge pull request #340 from lyra/fix/types/onFormValid
Browse files Browse the repository at this point in the history
fix(types): onFormValid type definition
  • Loading branch information
s-yagues authored Apr 24, 2024
2 parents 5f1a187 + 66e3eeb commit 34812c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ declare interface KR {
* Form valid event listener.
* @param callback - Callback
*/
onFormValid: (callback: (FormValidCallBackProps) => void) => Promise<{ KR: KR }>
onFormValid: (
callback: (data: FormValidCallBackProps) => void
) => Promise<{ KR: KR }>
/**
* Form submitted event listener.
* @param callback - Callback
Expand Down

0 comments on commit 34812c1

Please sign in to comment.