Skip to content

Commit 699d1e6

Browse files
authored
fix: augment vue rather than @vue/runtime-core
This removes augmentations of `@vue/runtime-core` in favour of only augmenting vue, which should fix issues when other packages (like `vue-router`) are only augmenting `vue` (see nuxt/nuxt#28542)
1 parent 205e0f1 commit 699d1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module "@vue/runtime-core" {
1+
declare module "vue" {
22
export interface GlobalComponents {
33
VueToPrint: typeof import("vue-to-print")["VueToPrint"];
44
}

0 commit comments

Comments
 (0)