mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
node : readable stream pipe can be piped further closes #1030
This commit is contained in:
1 parent
eb0cacfed1
commit
d0139df89d
2 files changed
+20
-7
No files matched your search
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