-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Typecheck error coming from this module #336
Comments
I'm unsure how to fix this properly, @danielroe may I ask for your assistance? |
I managed to have a fix for this but I'm unsure if this is the right approach By adding this in Lines 128 to 131 in 146cad4
and moving Lines 55 to 60 in 146cad4
With these changes we get rid of the type error in a fresh install (deleting Happy to open a PR if it is ok! |
You're right, it should be a dependency! Is that sufficient? Please do open a PR - I will amend as necessary 🙏 |
@danielroe it is sufficient! I'm doing it right now! |
🎉 This issue has been resolved in version 0.9.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
seems reference is being stripped somehow https://unpkg.com/browse/@nuxtjs/turnstile@0.9.8/dist/runtime/composables/turnstile.d.ts |
I'm sorry, I thought it was solved with my change, but I noticed in the previous version I didn't test without the Reproduction: https://stackblitz.com/edit/github-qaxbsn-sal6jg?file=.npmrc,package.json |
I believe this is now hotfixed in 839cbfc. |
It's fixed for me, thank you for addressing the issue! |
🐛 The bug
When installing this module in a clean Nuxt app and running the typecheck command
npx vue-tsc --noEmit
it shows the following error in console🛠️ To reproduce
https://stackblitz.com/edit/github-qaxbsn
npx vue-tsc --noEmit
in console🌈 Expected behaviour
Shouldn't show an error
ℹ️ Additional context
The text was updated successfully, but these errors were encountered: