has for some reason NOT a type like: () => Promise<{success: true}>, but INSTEAD following type: () => Promise<Promise<{success: true}>> which isn't really possible.
@christianalfoni , I don't know how you handle contributions (I looked but couldn't find a contributing guide anywhere), but I'd be happy to have a look at this issue, if you want.
Hi,
an operator only consisting of a pipe like the following:
has for some reason NOT a type like:
() => Promise<{success: true}>
, but INSTEAD following type:() => Promise<Promise<{success: true}>>
which isn't really possible.I created a minimal example in codesandbox demonstrating the problem. In src/App/App.tsx you can find the following: