UNPKG

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