sindresorhus / get-stream

Get a stream as a string, Buffer, ArrayBuffer or array
MIT License
341 stars 33 forks source link

Improve TypeScript types #71

Closed ehmicky closed 1 year ago

ehmicky commented 1 year ago

This PR adds more tests for the TypeScript types. It also make the types stricter by only allowing Readable streams, instead of any Node.js streams.