The recommended usage of [redux-loop]'s [Cmd.run
] lacks type safety, which is
problematic when a project relies on TypeScript.
Firstly, the args
are typed any
, and will not error when they don't match
the arguments of the function to be run.
Second, the arguments to successActionCreator
don't need to match the
return type of the function to be run.
Replace usages of Cmd.run
with typesafeCmdRun
to get type safety.