mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-29 00:59:37 +07:00
8 lines
226 B
TypeScript
8 lines
226 B
TypeScript
import { initTRPC } from "@trpc/server";
|
|
import { Context } from "./context";
|
|
|
|
const t = initTRPC.context<Context>().create();
|
|
|
|
// Base router and procedure helpers
|
|
export const { router, procedure, createCallerFactory } = t;
|