mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-22 16:00:37 +01:00
fix missing exports warnings
This commit is contained in:
@@ -47,11 +47,7 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
import { createTRPCHandler } from 'trpc-nuxt/api'
|
||||
import * as functions from '~/server/trpc'
|
||||
|
||||
export default createTRPCHandler({
|
||||
router: functions.router,
|
||||
createContext: functions.createContext ?? undefined,
|
||||
responseMeta: functions.responseMeta ?? undefined,
|
||||
})
|
||||
export default createTRPCHandler(functions)
|
||||
`)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user