babakness/pipe-and-compose-types

TS2502 complaint about "next"

Opened this issue · 0 comments

.../node_modules/pipe-and-compose-types/index.ts
Error:(39, 3) TS2502: ''next'' is referenced directly or indirectly in its own type annotation.

Seen with TS 3.9.7 and 4.0.3.

I'm haven't pieced together how the type actually works, so I can't offer any comment on this right now. I've set skipLibCheck: true for now.

Thanks for working out this library. Pipe/compose functions are always a big sticking point for typing in Typescript for me, often resorting to (pipe as any) and other nonsense.