mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-29 00:59:37 +07:00
8 lines
186 B
TypeScript
8 lines
186 B
TypeScript
import { Request } from "express";
|
|
|
|
export const createContext = async ({ req }: { req: Request }) => {
|
|
return {};
|
|
};
|
|
|
|
export type Context = Awaited<ReturnType<typeof createContext>>;
|