Open
Description
When compiling with tsc and --strict
switched on, I found error in createLogic
callback. Specifically, tsc indicates reject
parameter in transform
function can be undefined. I checked the type definition:
redux-logic/definitions/logic.d.ts
Lines 216 to 240 in 4b0951a
It used reject?: Pass<Action, Context>
for transform
function signature. I wonder, is there any case where transform
can be called with reject
neglected? I've checked #124 and #125, but still couldn't figure out why there is ?
following reject
parameter.