Skip to content

Commit

Permalink
feat: export all module types in types.d.ts (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpreston321 committed Sep 20, 2022
1 parent 4bf228d commit 64f3ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ import { ${moduleImports.join(', ')} } from './module'
${schemaShims.length ? `declare module '@nuxt/schema' {\n${schemaShims.join('\n')}\n}\n` : ''}
export { default } from './module'
export { ${typeExports[0].names.join(', ')} } from './module'
`

await fsp.writeFile(dtsFile, dtsContents, 'utf8')
Expand Down

0 comments on commit 64f3ba5

Please sign in to comment.