Skip to content

Commit d221b8d

Browse files
authored
fix: extend type GlobalComponents in "@vue/runtime-core" (#344)
1 parent 6002cac commit d221b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/declaration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function generateDeclaration(ctx: Context, root: string, filepath:
5757
// We suggest you to commit this file into source control
5858
// Read more: https://github.com/vuejs/vue-next/pull/3399
5959
60-
declare module 'vue' {
60+
declare module '@vue/runtime-core' {
6161
export interface GlobalComponents {
6262
${lines.join('\n ')}
6363
}

0 commit comments

Comments
 (0)