code-share/server/api/trpc/context.ts

8 lines
186 B
TypeScript
Raw Normal View History

import { Request } from "express";
2024-02-22 12:14:58 +00:00
export const createContext = async ({ req }: { req: Request }) => {
2024-02-22 12:14:58 +00:00
return {};
};
export type Context = Awaited<ReturnType<typeof createContext>>;