Closed tp closed 5 years ago
The actual issue is that we have two versions of typescript-fsa
here. Once 2.5.0
and once 3.0.0-beta-2
which leads to the conflict. The changed the type of the ActionCreator
. If the payload extends void
which leads to this issue I believe. We could downgrade this version here, but I also pushed a fix which would solve the issue in OMS without upgrading the packages
I think we could also just update OMS, no?
Ok, we can't do that without further changes. I'll try to downgrade here, the other one is still in beta and hasn't progressed in a while.
Thanks for the investigation, I think downgrading is our best choice for now. Published tsaga
2.2.0 with TS FSA 2.5.
Just saw this in OMS with TypeScript 3.4.1.
Broken:
take(storeCampaign);
Ok
take<Campaign | null>(storeCampaign)
Especially annoying, since we aren't even interested in / using the result, but just want to wait for the message,
Possibly related:
Does also not work without the type assertion on the
forEvery
.