ResultAction implements Action and receives the payload with a fixed type.
If I comment out this._store.dispatch my Service resolves succesfully,
if not, the Service is not instanced and a Component cannot resolve it as parameter:
Uncaught Error: Can't resolve all parameters for InitialStepComponent: (?).
no weird stuff, just the dispatch line is screwing me :(
Help please! I have no clue why I cannot dispatch on my service as I do on another of my components that dispatch anything:
ResultAction implements Action and receives the payload with a fixed type.
If I comment out
this._store.dispatch
my Service resolves succesfully, if not, the Service is not instanced and a Component cannot resolve it as parameter:no weird stuff, just the dispatch line is screwing me :(
If
this._store
isStore<InputState>
it can dispatchResultState
s right? I'm using the latest@angular/cli
withng serve