UNPKG

250 BTypeScriptView Raw
1import { ReadableTyped } from '../stream.model';
2/**
3 * Convenience function to read the whole Readable stream into Array (in-memory)
4 * and return that array.
5 */
6export declare function readableToArray<T>(readable: ReadableTyped<T>): Promise<T[]>;