diff --git a/types/split/index.d.ts b/types/split/index.d.ts index f4cd33dd5e..abe4d616ba 100644 --- a/types/split/index.d.ts +++ b/types/split/index.d.ts @@ -1,16 +1,17 @@ -// Type definitions for split v0.3.3 +// Type definitions for split v1.0.1 // Project: https://github.com/dominictarr/split // Definitions by: Marcin Porębski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// - +import { ThroughStream } from 'through'; interface SplitOptions { maxLength: number } -declare function split(matcher?: any, mapper?: any, options?: SplitOptions): any; +declare function split(matcher?: any, mapper?: any, options?: SplitOptions): ThroughStream; export = split;