Closed Gregoyle closed 6 years ago
@Gregoyle can you link your repo code so I can see what's going on?
You need to use BareActionContext instead of ActionContext - I'm not sure when this changed but it works, sample here: https://github.com/gkinsman/vue-types-demo.
I'm having an issue with the examples in this library and my own code. I was hoping someone could ellucidate what I might be doing wrong:
When I try to use the examples in this repo I run into an issue with dispatch:
I'm wondering if you have run into this problem in your own work? It's keeping me from making effective use of the library. It only happens when I type the context in an action:
function addAppError(context: StatContext, payload) {
And the dispatch:
builder.dispatch(addAppError)
. Even though the builder is made correctly:Any thoughts? I see the same error if I try the basket example from this repo.