Ensuring Pipeable Return Values in TypeScript

What is the correct way to return a value that is pipeable? I noticed the responses of map/flatMap/etc are not pipeable.

like if I want to do something like where e4 would have access to the return value of e3

const test = e1.pipe(
  e2(),
  e3().pipe(
    e4()
  ),
  e5()
);
Was this page helpful?