mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-05 17:00:08 +00:00
Readable streams and streamlike interfaces in node have pause() and resume() methods. They're defined to return `this` in the documentation: https://nodejs.org/api/stream.html#stream_readable_pause This is relevant when someone extends a stream, as the pause and resume methods on a subtype should return the subtype, not the super type.