Skip to content

Commit 3a5664b

Browse files
authored
chore: update declaration.ts (unplugin#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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy