Closed scamden closed 3 months ago
good catch. I'll get that fixed asap
Should be fixed in https://github.com/JacobWeisenburger/zod_utilz/releases/tag/0.8.3. Let me know if it works for you?
looks great! thanks for the quick turnaround!
Thanks for clearly describing your issue. lol. It is crazy how many people struggle with making a simple explanation. :D
https://github.com/JacobWeisenburger/zod_utilz/blob/2615a26eececeea1134ef53a581e00fb363bf3a4/src/useTypedParsers.ts#L28
if i pass
to
useTypedParsers
right now the resulting .parse won't acceptundefined
but I believe it should!using
z.input<Schema>
solves this for me, just thought I'd open this as a possible improvement. Thanks for this really helpful library!