diff --git a/types/split/index.d.ts b/types/split/index.d.ts index f4cd33dd5e..a519381b0f 100644 --- a/types/split/index.d.ts +++ b/types/split/index.d.ts @@ -4,13 +4,15 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// - +import { Transform, TransformOptions } from 'stream'; +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;