Vitest context router caller
Hi, Im trying to setup vitest to test trpc. I would like to have a trpc approuter caller to be accessible from vitest context but im struggling with typings of appRouter.createCaller(ctx) return type
How I could type the contextCaller function? It currently inffers Promise<any>
0 Replies