Skip to content
Discussion options

You must be logged in to vote

The first generic argument is your form dirty field values, and third is Ttransformed/valid values that get as first argument into you submit handler. So try this:

useForm<{ price: number | string }, void, { price: number }>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xsjcTony
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants