Skip to content

Commit

Permalink
fix: augment vue rather than @vue/runtime-core (#1576)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
chatondearu authored Jan 9, 2025
1 parent b57f2be commit 365c954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-apollo-option/types/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 365c954

Please sign in to comment.