Open Ha-limLee opened 1 year ago
According to redux saga docs, take effect can receive patterns(array of pattern).
But current result of the effect is any.
any
// action is any // this should be FooAction | BarAction const action = yield* take([foo, bar]);
So I added a type overloading to make it work properly.
According to redux saga docs, take effect can receive patterns(array of pattern).
But current result of the effect is
any
.So I added a type overloading to make it work properly.