Skip to content

Commit

Permalink
fix: augment vue rather than @vue/runtime-core
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
miguelrk authored Aug 22, 2024
1 parent 205e0f1 commit 699d1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "@vue/runtime-core" {
declare module "vue" {
export interface GlobalComponents {
VueToPrint: typeof import("vue-to-print")["VueToPrint"];
}
Expand Down

0 comments on commit 699d1e6

Please sign in to comment.