zod-tutorial
zod-tutorial copied to clipboard
Ex 14 possible solution
By passing our generic into the first generic slot on z.ZodSchema, the return type is inferred for free 😄