This library is working perfectly, however it seems that createCaller() is missing:
import { router } from '../trpc'
const caller = router.createCaller({})
Results:
Property 'createCaller' does not exist on type '<TProcRouterRecord extends ProcedureRouterRecord>(procedures: TProcRouterRecord) => CreateRouterInner<RootConfig<{..}>>'.
Is there anything I'm missing? Maybe there is a working example of trpc-nuxt with a createCaller()?
This library is working perfectly, however it seems that
createCaller()
is missing:Results:
Property 'createCaller' does not exist on type '<TProcRouterRecord extends ProcedureRouterRecord>(procedures: TProcRouterRecord) => CreateRouterInner<RootConfig<{..}>>'.
Is there anything I'm missing? Maybe there is a working example of trpc-nuxt with a createCaller()?