typed-redux-saga
This is a breaking change for anyone using saga-query. We are now using typed-redux-saga which means anytime you import effects (e.g. call, select, put, etc.) from saga-query you must use yield delegates.
Before
import { call } from 'saga-query';
function* gen() {
return 0;
}
function*() {
// ts considers result is `any`
const result = yield call(gen);
}After
import { call } from 'saga-query';
function* gen() {
return 0;
}
function*() {
// ts considers result is `number`
const result = yield* call(gen);
}