fix(nuxt3): move export to top level (#626)

* fixes issue of module augmentation
This commit is contained in:
Daniel Roe 2021-10-02 22:06:57 +01:00 committed by GitHub
parent 45b4946026
commit 5cf293ea88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
${options.components.map(c => ` '${c.pascalName}': typeof import('${relative(options.buildDir, c.filePath)}')['${c.export}']`).join(',\n')} ${options.components.map(c => ` '${c.pascalName}': typeof import('${relative(options.buildDir, c.filePath)}')['${c.export}']`).join(',\n')}
} }
}
export {} export {}
}` `
} }