mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
node : readable stream pipe can be piped further closes #1030
This commit is contained in:
Vendored
+2
-2
@@ -998,7 +998,7 @@ declare module "stream" {
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
destroy(): void;
|
||||
pipe(destination: WritableStream, options?: { end?: boolean; }): void;
|
||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
||||
}
|
||||
|
||||
export interface ReadableOptions {
|
||||
@@ -1014,7 +1014,7 @@ declare module "stream" {
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
destroy(): void;
|
||||
pipe(destination: WritableStream, options?: { end?: boolean; }): void;
|
||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
||||
_read(): void;
|
||||
push(chunk: any, encoding?: string): boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user