WARNING: This package is no longer to be maintained, use [Pinia](https://pinia.esm.dev/) instead.
Home Page:https://iendeavor.github.io/vuex-light/vuex-light
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
soc221b opened this issue 3 years ago · comments
Instead of createStore({ state, getters, ... }), we expose a trade-off signature: createStore(state, getters, ...).
createStore({ state, getters, ... })
createStore(state, getters, ...)
This is due to some typings cannot be fully inferred. please see this test to get more details.
I'm glad to hear about that you have a workaround/solution for this 😃.