iway1 / react-ts-form

https://react-ts-form.com
MIT License
2.01k stars 33 forks source link

fix submit types #100

Closed scamden closed 1 year ago

scamden commented 1 year ago

@iway1 i think this was broken during the refactor. this lets the onSubmit handler get the actual type passed and not the general one. i added a type only test to make sure it stays good ish

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-ts-form ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2023 0:23am
scamden commented 1 year ago

@iway1 quick one here too

iway1 commented 1 year ago

whoops missed that one somehow ty sir 🙏

scamden commented 1 year ago

For sure! Thanks!