DefinitelyTyped/split/index.d.ts

17 lines
409 B
TypeScript

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