1 | /// <reference types="node"/>
|
2 |
|
3 | interface MergedStream extends NodeJS.ReadWriteStream {
|
4 | add(source: NodeJS.ReadableStream | readonly NodeJS.ReadableStream[]): MergedStream;
|
5 | isEmpty(): boolean;
|
6 | }
|
7 |
|
8 | declare function merge<T extends NodeJS.ReadableStream>(...streams: Array<T | readonly T[]>): MergedStream;
|
9 | export = merge;
|