Pertinate
Pertinate
TTCTheo's Typesafe Cult
Created by Pertinate on 11/11/2023 in #questions
Generic Zod Type without defining generics?
I'm trying to type this correctyl in that paramSchema and querySchema are basically inferred by the given schema when defined, but I want to also provide the correct type for everything else in the object. Not sure how to achieve that without just foregoing defining the type. Are there any other ways to do that? Posting my example in the comments
3 replies
TTCTheo's Typesafe Cult
Created by Pertinate on 12/8/2022 in #questions
Issues with next-auth discord
25 replies