mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
#10185 Readable class pause and resume now return a Readable.
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user