File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { createJiti } from 'jiti'
10
10
import { anyOf , createRegExp } from 'magic-regexp'
11
11
import { consola } from 'consola'
12
12
import type { NuxtModule } from '@nuxt/schema'
13
- import { findExports , resolvePath } from 'mlly'
13
+ import { findExports , resolvePath , findTypeExports } from 'mlly'
14
14
import type { ESMExport } from 'mlly'
15
15
import { defineCommand } from 'citty'
16
16
import { convertCompilerOptionsFromJson } from 'typescript'
@@ -224,6 +224,9 @@ async function writeTypes(distDir: string, isStub: boolean) {
224
224
for ( const e of findExports ( normalisedModuleTypes ) ) {
225
225
moduleReExports . push ( e )
226
226
}
227
+ for ( const i of findTypeExports ( normalisedModuleTypes ) ) {
228
+ moduleReExports . push ( i )
229
+ }
227
230
}
228
231
229
232
const appShims : string [ ] = [ ]
You can’t perform that action at this time.
0 commit comments