Installation
npm install --save @types/native-duplexpair
Summary
This package contains type definitions for native-duplexpair (https://github.com/tediousjs/native-duplexpair#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/native-duplexpair.
index.d.ts
/// <reference types="node" />
import { Duplex, DuplexOptions } from "stream";
declare class DuplexPair {
readonly socket1: Duplex;
readonly socket2: Duplex;
constructor(options?: DuplexOptions);
}
export = DuplexPair;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Tim Perry.