Wiznet
Wiznet3mo ago

Passing input as a prop

Hey all, I currently use zod to define my inputs for queries. Is there a good way to type the zod objects when passing them as props? Specifically I'm writing validation functions to verify the patch against business logic. I'm currently typing per my image but that is messy + not scalable.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin