Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: augment vue rather than @vue/runtime-core #8

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

miguelrk
Copy link
Contributor

Problem: after nuxt/nuxt#28446, the mixing of module augmentation causes issues for modules downstream like vue-to-print which cause typescript intellisense to break completely (e.g. in vscode).

Solution: this PR removes augmentations of @vue/runtime-core in favour of only augmenting vue (the new recommendation), which should fix issues when other packages (like vue-to-print) are only augmenting vue (see nuxt/nuxt#28542)

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)
Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for vue-to-print ready!

Name Link
🔨 Latest commit 699d1e6
🔍 Latest deploy log https://app.netlify.com/sites/vue-to-print/deploys/66c74d242394780008fa87a3
😎 Deploy Preview https://deploy-preview-8--vue-to-print.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@miguelrk
Copy link
Contributor Author

Hey @siaikin ! Thanks for your library! Recent nuxt upstream changes broke the types. Could we please get a new release with this fix 🙏🏼

@siaikin
Copy link
Owner

siaikin commented Aug 23, 2024 via email

@siaikin siaikin merged commit e7344bb into siaikin:master Aug 23, 2024
5 checks passed
@siaikin
Copy link
Owner

siaikin commented Aug 23, 2024

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@miguelrk miguelrk deleted the fix/type-augments branch August 23, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants