-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Property '$vm2' does not exist on type #2
Comments
which version are you using? |
I think v1.1.7 or v1.1.8 should be fine. Tested it using debug mode and build mode no error prompted in console. |
Hmmm... I was using v1.1.6. upgraded to 1.1.8, still getting the same error... Must be something else about my config...? I am using typescript - might that be related? *** Fixed I believe it is a typescript issue. Where I'm using 'this', i changed to (this as any) and error went away. I think maybe this could also be solved if you included a types package with your package for TS? Thanks for your package and your help! |
thanks for feedback! I will check again compatibility on TS |
Hi
Thanks for your component.
I'm using it successfully in debug mode. While in debug mode I do get an error though:
Property '$vm2' does not exist on type 'CombinedVueInstance<Vue, PageState....
While in debug mode this still runs correctly, but if I try and do yarn build, it fails with the same error.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: