I've noticed that the result of a yield call
effect is typed as any
when used as
const data = yield call(f);
while f
is a () => Promise<number>
function.
Am I missing something or is it a redux-saga
typings limitation?
Check this ongoing thread, tldr; it's a typescript limitation