Closed danielroe closed 2 years ago
For consistency with Node readable stream implementation, destroy() and end() should likely return this - https://nodejs.org/api/stream.html#readabledestroyerror
destroy()
end()
this
Context: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/57473
For consistency with Node readable stream implementation,
destroy()
andend()
should likely returnthis
- https://nodejs.org/api/stream.html#readabledestroyerrorContext: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/57473