Type error with tRPC, Zod, Prisma
Hey guys, I'm new to Typescript and the t3-stack and I cannot seem to figure out how to solve this error. How do I delcare the correct type for this "userId" input?
The error reads:
The error reads:
(property) userId?: string | Prisma.StringNullableFilter | null | undefined
Type '{ id: string; }' is not assignable to type 'string | StringNullableFilter | null | undefined'.ts(2322)
