T
tRPC

Get the type of context after middleware

Get the type of context after middleware

PMPatryk Makowski5/23/2023
How can I get the type of the context of adminProcedure from export const adminProcedure = publicProcedure.use(isAdmin)? https://trpc.io/docs/server/middlewares

Looking for more? Join the community!

T
tRPC

Get the type of context after middleware

Join Server