Open chmac opened 3 years ago
Reading this from the docs:
Here is the latest recommendation although it's not fully optimal. If you managed to cook something better, please open an issue to share your finding with us.
This package offers more type safety https://github.com/agiledigital/typed-redux-saga
In the following example, result will be typed with the return type of fn.
result
fn
import {call} form 'typed-redux-saga/macro' const result = yield* call(fn)
Reading this from the docs:
This package offers more type safety https://github.com/agiledigital/typed-redux-saga
In the following example,
result
will be typed with the return type offn
.