mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
#10185 The Transform class now overrides pause and resume to return a Transform specifically.
This commit is contained in:
Vendored
+2
-2
@@ -2251,8 +2251,8 @@ declare module "stream" {
|
||||
_flush(callback: Function): void;
|
||||
read(size?: number): any;
|
||||
setEncoding(encoding: string): void;
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
pause(): Transform;
|
||||
resume(): Transform;
|
||||
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