-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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:
createApp(App)
.use(VueAnnouncer)
Error
Argument of type 'typeof import(".../node_modules/@vue-a11y/announcer/dist/index")' is not assignable to parameter of type 'Plugin_2'.
Property 'install' is missing in type 'typeof import(".../node_modules/@vue-a11y/announcer/dist/index")' but required in type '{ install: PluginInstallFunction; }'. ts(2345)
Reproducible by creating a simple Vue 3 TS application with Vue CLI.
Environment:
- VueAnnouncer v3.1.2
- Vue v3.0.5
- Typescript v3.9.7
tcitworld and ux-engineerux-engineer
Metadata
Metadata
Assignees
Labels
No labels