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

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/native-duplexpair

Weekly Downloads

738

Version

1.0.3

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types