mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
441 B
TypeScript
13 lines
441 B
TypeScript
// Type definitions for stream-each 1.2
|
|
// Project: https://github.com/mafintosh/stream-each
|
|
// Definitions by: Daniel Cassidy <https://github.com/djcsdy>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node"/>
|
|
|
|
declare function each(stream: NodeJS.ReadableStream,
|
|
iterator: (data: Buffer | string, next: (error?: Error) => void) => void,
|
|
cb: (error?: Error) => void): void;
|
|
|
|
export = each;
|