We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.0.0-beta.4
In the Vue4 type definition the useStore function is defined as
vuex/types/index.d.ts
Line 48 in 83bc26f
but in the source you can provide a key, to enable more then one store in the application.
vuex/src/injectKey.js
Line 5 in 83bc26f
The type definition should match the function
It does not match ;) so only one store can be used with typescript
The text was updated successfully, but these errors were encountered:
PR is already made 🤘🏻
Sorry, something went wrong.
Closing due to the PR is already merged!
No branches or pull requests
Version
4.0.0-beta.4
Steps to reproduce
In the Vue4 type definition the useStore function is defined as
vuex/types/index.d.ts
Line 48 in 83bc26f
but in the source you can provide a key, to enable more then one store in the application.
vuex/src/injectKey.js
Line 5 in 83bc26f
What is expected?
The type definition should match the function
What is actually happening?
It does not match ;) so only one store can be used with typescript
The text was updated successfully, but these errors were encountered: