Skip to content

fix(effector-vue): correct VueEffector type to be Plugin#1306

Open
kTelyakov wants to merge 1 commit intoeffector:masterfrom
kTelyakov:fix/vue-effector-plugin-type
Open

fix(effector-vue): correct VueEffector type to be Plugin#1306
kTelyakov wants to merge 1 commit intoeffector:masterfrom
kTelyakov:fix/vue-effector-plugin-type

Conversation

@kTelyakov
Copy link
Copy Markdown

Fixes #1186

VueEffector was incorrectly typed as a function that accepts a Plugin, but it is actually an object that implements the Plugin interface.

This allows using it correctly with app.use(VueEffector) in Vue 3.

Conventions

Fixes effector#1186

VueEffector was incorrectly typed as a function that accepts a Plugin,
but it is actually an object that implements the Plugin interface.

This allows using it correctly with app.use(VueEffector) in Vue 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VueEffector Type Does Not Support Usage as a Vue Plugin

1 participant