/**
 * This file contains the root router of your tRPC-backend
 */ import superjson from 'superjson' ; import { createRouter } from '../createRouter' ; import { postRouter } from './post' ; link link export const appRouter = createRouter ( ) . transformer ( superjson ) . merge ( 'post.' , postRouter ) ; export type AppRouter = typeof appRouter ;