Skip to content

Commit 3a5664b

Browse files
authored
chore: update declaration.ts (#356)
1 parent 6936d5c commit 3a5664b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/declaration.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,15 @@ export async function generateDeclaration(ctx: Context, root: string, filepath:
6060
const code = `// generated by unplugin-vue-components
6161
// We suggest you to commit this file into source control
6262
// Read more: https://github.com/vuejs/vue-next/pull/3399
63+
import '@vue/runtime-core'
6364
6465
declare module '@vue/runtime-core' {
6566
export interface GlobalComponents {
6667
${lines.join('\n ')}
6768
}
6869
}
6970
70-
export { }
71+
export {}
7172
`
7273

7374
if (code !== originalContent)

0 commit comments

Comments
 (0)