mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
12 lines
193 B
TypeScript
12 lines
193 B
TypeScript
// generated by trpc-nuxt
|
|
import * as trpc from '@trpc/server'
|
|
|
|
export const router = trpc
|
|
.router()
|
|
.query('hello', {
|
|
resolve: () => 'world',
|
|
})
|
|
|
|
export type Router = typeof router
|
|
|