Closed DenisFrezzato closed 2 years ago
This isn't actually a bug. The issue should be solved by using wrap
.
H.ichain(() => H.pipeStream((new Readable).wrap(res.body))),
@MakhBeth can you verify this?
EDIT: I've tested it, .wrap
is the way to go, I'm closing this.
I'm reopening this, NodeJS.ReadableStream
is the proper type to use.
🐛 Bug report
Current Behavior
Using
pipeStream
I get the following error.Expected behavior
No error is raised.
Reproducible example
Suggested solution(s)
pipeStream
should acceptReadable | ReadableStream
.Your environment
cc @MakhBeth