mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
493 B
TypeScript
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;
|