1.0.3 • Published 6 months ago

@types/native-duplexpair v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for native-duplexpair 1.0
// Project: https://github.com/tediousjs/native-duplexpair#readme
// Definitions by: Tim Perry <https://github.com/pimterry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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: Wed, 01 Dec 2021 23:01:02 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Tim Perry.

1.0.2

7 months ago

1.0.1

8 months ago

1.0.3

6 months ago

1.0.0

2 years ago