0.1.6 • Published 6 months ago
@types/duplexer2 v0.1.6
Installation
npm install --save @types/duplexer2
Summary
This package contains type definitions for duplexer2 (https://github.com/deoxxa/duplexer2).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duplexer2.
index.d.ts
// Type definitions for duplexer2 0.1
// Project: https://github.com/deoxxa/duplexer2
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42>
// Simon Oulevay <https://github.com/AlphaHydrae>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Definition file started by dts-gen
/// <reference types="node" />
import { DuplexOptions } from 'stream';
interface Duplexer2Options extends DuplexOptions {
bubbleErrors?: boolean | undefined;
}
declare function duplexer2(options: Duplexer2Options, writable: NodeJS.WritableStream, readable: NodeJS.ReadableStream): NodeJS.ReadWriteStream;
declare function duplexer2(writable: NodeJS.WritableStream, readable: NodeJS.ReadableStream): NodeJS.ReadWriteStream;
export = duplexer2;
Additional Details
- Last updated: Tue, 06 Jul 2021 20:32:49 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Zlatko Andonovski, and Simon Oulevay.