agiledigital / typed-redux-saga

An attempt to bring better TypeScript typing to redux-saga.
MIT License
315 stars 33 forks source link

Improves args type inference for call, apply, fork & spawn #654

Closed lourd closed 2 years ago

lourd commented 2 years ago

Small tweak to the setup of the generic types for call, apply, fork, and spawn to better infer the type for the given function's arguments.

lourd commented 2 years ago

Hey @danielnixon, please let me know if there's anything I can do, any changes you'd like to see, to get this merged!

danielnixon commented 2 years ago

@lourd published as v1.5.0, thanks for the PR.