From 365c95467afbdf415b55ea35a5f12d105beebdde Mon Sep 17 00:00:00 2001 From: "ChatonDeAru (Romain)" <823314+chatondearu@users.noreply.github.com> Date: Thu, 9 Jan 2025 20:10:35 +0100 Subject: [PATCH] fix: augment `vue` rather than `@vue/runtime-core` (#1576) This PR removes augmentations of `@vue/runtime-core` in favour of only augmenting `vue` (the new recommendation), which should fix issues when other packages are only augmenting vue (see nuxt/nuxt#28542). --- packages/vue-apollo-option/types/vue.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-apollo-option/types/vue.d.ts b/packages/vue-apollo-option/types/vue.d.ts index 60eb3fc..6405b76 100644 --- a/packages/vue-apollo-option/types/vue.d.ts +++ b/packages/vue-apollo-option/types/vue.d.ts @@ -2,7 +2,7 @@ import { DollarApollo } from './vue-apollo' import { VueApolloComponentOptions } from './options' import { ApolloProvider } from './apollo-provider' -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentOptionsBase< Props, RawBindings,