mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
makes ReadableStream the same as stream.ReadableStream by applying the pipe change
from commit d0139df89d
This commit is contained in:
Vendored
+1
-1
@@ -95,7 +95,7 @@ interface ReadableStream extends EventEmitter {
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
destroy(): void;
|
||||
pipe(destination: WritableStream, options?: { end?: boolean; }): void;
|
||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
||||
}
|
||||
|
||||
interface NodeProcess extends EventEmitter {
|
||||
|
||||
Reference in New Issue
Block a user