We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const task = yield* takeEvery(someAction, handleSomeAction);
In this statement, task currently has type of never since fork effects like takeEvery have a return type of SagaGenerator<never, ForkEffect<never>>.
task
never
takeEvery
SagaGenerator<never, ForkEffect<never>>
I think these should be replaced with SagaGenerator<Task, ForkEffect<never>> since all fork effects return a Task object.
SagaGenerator<Task, ForkEffect<never>>
Task
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this statement,
task
currently has type ofnever
since fork effects liketakeEvery
have a return type ofSagaGenerator<never, ForkEffect<never>>
.I think these should be replaced with
SagaGenerator<Task, ForkEffect<never>>
since all fork effects return aTask
object.The text was updated successfully, but these errors were encountered: