mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-26 01:40:31 +01:00
feat: add trpc type helpers
This commit is contained in:
@@ -78,6 +78,12 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
`
|
||||
},
|
||||
})
|
||||
|
||||
addTemplate({
|
||||
filename: 'trpc-helpers.ts',
|
||||
write: true,
|
||||
src: join(runtimeDir, 'helpers.ts'),
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user