mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
10 lines
358 B
TypeScript
10 lines
358 B
TypeScript
import { createTRPCReact } from "@trpc/react-query";
|
|
import type { inferRouterInputs, inferRouterOutputs } from "@trpc/server";
|
|
|
|
import type { AppRouter } from "@/app/server/appRouter";
|
|
|
|
export type APIRouterInput = inferRouterInputs<AppRouter>;
|
|
export type APIRouterOutput = inferRouterOutputs<AppRouter>;
|
|
|
|
export const trpc = createTRPCReact<AppRouter>();
|