We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f27bb commit 3cf721bCopy full SHA for 3cf721b
src/commands/build.ts
@@ -203,7 +203,7 @@ async function writeTypes(distDir: string, isStub: boolean) {
203
const schemaImports: string[] = []
204
const moduleExports: string[] = []
205
206
- const hasTypeExport = (name: string) => isStub || moduleReExports.find(exp => exp.names.includes(name))
+ const hasTypeExport = (name: string) => isStub || moduleReExports.find(exp => exp.names?.includes(name))
207
208
if (!hasTypeExport('ModuleOptions')) {
209
schemaImports.push('NuxtModule')
0 commit comments