-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Not possible to use VueAnnouncer plugin (v3.1.2) in TS project #20
Comments
Hi @pertoyra I will identify and correct this weekend. Sorry, but I'm starting to learn TypeScript, so if you have any idea how to solve this, I would like to hear it. |
@ktquez Sorry for my late response. If you haven't looked closer at this I might have a look this afternoon. |
I have this same issue, have you looked at this yet? |
@Evertvdw @per-toyra-stratsys |
@ktquez Just tested to upgrade to 3.1.4 with no other changes and still getting the same problem. Didn't investigate further though and haven't been able to look into this issue. Are you able to install 3.1.4 in a fresh Vue 3 application created with Vue CLI and use vue-announcer? |
Yeah! I don't get any more errors in the installation, and now it is possible to know the methods available in the composition useAnnouncer. I tested on projects created with vue-cli and Vite. |
@ktquez It seems that solves my problem. I can't be completely sure because I'm in the middle of upgrading to Vue 3 and a lot of stuff is broken at the moment. But I do not get this type error anymore at this moment, so I assume that it works. |
@pertoyra |
@ktquez I get a different error now with [email protected]
|
When following "Basic usage" README section of VueAnnouncer v3.1.2 in a typescript Vue 3 project the below error occurs when installing the plugin using:
Error
Reproducible by creating a simple Vue 3 TS application with Vue CLI.
Environment:
The text was updated successfully, but these errors were encountered: