use inner context type (#7449)
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
fa7260d72a
commit
ddf7a234ab
2 files changed
+2
-3
No files matched your search
@@ -4,9 +4,9 @@ import rateLimit from "@calcom/lib/rateLimit";
|
||||
|
||||
import { initTRPC, TRPCError } from "@trpc/server";
|
||||
|
||||
import type { createContext } from "./createContext";
|
||||
import type { createContextInner } from "./createContext";
|
||||
|
||||
const t = initTRPC.context<typeof createContext>().create({
|
||||
const t = initTRPC.context<typeof createContextInner>().create({
|
||||
transformer: superjson,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user