UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

24 lines (18 loc) 564 B
// Type definitions for batch-stream 0.1.2 // Project: https://github.com/segmentio/batch-stream // Definitions by: Nicholas Penree <http://github.com/drudge> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../node/node.d.ts" /> declare module "batch-stream" { import stream = require('stream'); interface Options { size?: number; highWaterMark?: number; } class BatchStream extends stream.Transform { size: number; batch: any[]; constructor(options: Options); } export = BatchStream; }