Installation
npm install --save @types/batch-stream
Summary
This package contains type definitions for batch-stream (https://github.com/segmentio/batch-stream).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/batch-stream.
index.d.ts
/// <reference types="node" />
import stream = require("stream");
interface Options {
size?: number | undefined;
highWaterMark?: number | undefined;
}
declare class BatchStream extends stream.Transform {
size: number;
batch: any[];
constructor(options: Options);
}
export = BatchStream;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: @types/node
Credits
These definitions were written by Nicholas Penree.