feat: add helper types

This commit is contained in:
Robert Soriano
2022-05-20 11:30:04 -07:00
parent 7775e59b0c
commit 109a07a42d
2 changed files with 77 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.d.ts'),
})
},
})