mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 20:19:33 +01:00
10 lines
248 B
TypeScript
10 lines
248 B
TypeScript
import { inferAsyncReturnType } from '@trpc/server'
|
|
|
|
/**
|
|
* Creates context for an incoming request
|
|
* @link https://trpc.io/docs/context
|
|
*/
|
|
export const createContext = () => ({})
|
|
|
|
export type Context = inferAsyncReturnType<typeof createContext>
|