DefinitelyTyped/stream-to-array/stream-to-array.d.ts
2016-04-22 14:12:45 -07:00

12 lines
423 B
TypeScript

// Type definitions for stream-to-array
// Project: https://github.com/stream-utils/stream-to-array
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare function toArray(stream: NodeJS.ReadableStream, callback: (err: any, arr: any[]) => void): NodeJS.ReadWriteStream;
export = toArray;