UNPKG

225 BTypeScriptView Raw
1/// <reference types="node"/>
2
3declare function each(
4 stream: NodeJS.ReadableStream,
5 iterator: (data: Buffer | string, next: (error?: Error) => void) => void,
6 cb: (error?: Error) => void,
7): void;
8
9export = each;