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