blob: b34424edaa54f6e78f383f6b6087a90a6cf64dd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import { initTRPC } from '@trpc/server';
// Avoid exporting the entire t-object
// since it's not very descriptive.
// For instance, the use of a t variable
// is common in i18n libraries.
const t = initTRPC.create();
// Base router and procedure helpers
export const router = t.router;
export const procedure = t.procedure;
|