jack
type mismatch between tRPC return (in sveltekit) and defined type
yea, thanks! quick question: I just followed the docs surrounding how to add superjson, but the sveltekit trpc setup is a bit different that that in the regular docs. not sure if this is enough context, but do I need to add the transformer on both client initializations here?
13 replies
type mismatch between tRPC return (in sveltekit) and defined type
not entirely sure if i have a transformer, i mostly tried to follow the instructions here: https://icflorescu.github.io/trpc-sveltekit/, but then i added my prisma client onto the context.
error is:
13 replies