mirror of
https://github.com/khairul169/code-share.git
synced 2025-06-18 01:29:35 +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;
|