@types/merge-stream
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

Installation

npm install --save @types/merge-stream

Summary

This package contains type definitions for merge-stream (https://github.com/grncdr/merge-stream).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/merge-stream.

index.d.ts

/// <reference types="node"/>

interface MergedStream extends NodeJS.ReadWriteStream {
    add(source: NodeJS.ReadableStream | readonly NodeJS.ReadableStream[]): MergedStream;
    isEmpty(): boolean;
}

declare function merge<T extends NodeJS.ReadableStream>(...streams: Array<T | readonly T[]>): MergedStream;
export = merge;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Keita Kagurazaka, Tom X. Tobin, Daniel Zazula, and Daniel Cassidy.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/merge-stream

Weekly Downloads

30,132

Version

1.1.5

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • types