feat: add trpc type helpers

This commit is contained in:
Robert Soriano
2022-05-20 11:07:12 -07:00
parent 47ba58c0b7
commit eb1bd0c700
2 changed files with 79 additions and 0 deletions

View File

@@ -78,6 +78,12 @@ export default defineNuxtModule<ModuleOptions>({
`
},
})
addTemplate({
filename: 'trpc-helpers.ts',
write: true,
src: join(runtimeDir, 'helpers.ts'),
})
},
})