mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
11 lines
220 B
TypeScript
11 lines
220 B
TypeScript
import { router } from '..'
|
|
import { todoRouter } from './todo'
|
|
import { userRouter } from './user'
|
|
|
|
export const appRouter = router({
|
|
todo: todoRouter,
|
|
user: userRouter,
|
|
})
|
|
|
|
export type AppRouter = typeof appRouter
|