#10185 Readable class pause and resume now return a Readable.

This commit is contained in:
Dawson Reid
2016-08-13 09:38:02 -03:00
parent 108c7a9dd1
commit aa7bb9d752
+2 -2
View File
@@ -2187,8 +2187,8 @@ declare module "stream" {
_read(size: number): void;
read(size?: number): any;
setEncoding(encoding: string): void;
pause(): void;
resume(): void;
pause(): Readable;
resume(): Readable;
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
unpipe<T extends NodeJS.WritableStream>(destination?: T): void;
unshift(chunk: any): void;