DefinitelyTyped/types/split/index.d.ts
2018-08-29 15:14:04 +02:00

18 lines
493 B
TypeScript

// Type definitions for split v1.0.1
// Project: https://github.com/dominictarr/split
// Definitions by: Marcin Porębski <https://github.com/marcinporebski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
/// <reference types="through" />
import { ThroughStream } from 'through';
interface SplitOptions {
maxLength: number
}
declare function split(matcher?: any, mapper?: any, options?: SplitOptions): ThroughStream;
export = split;