UNPKG

219 BTypeScriptView Raw
1declare module 'native-duplexpair' {
2 import { Duplex } from 'stream';
3
4 class DuplexSocket extends Duplex { }
5
6 class DuplexPair {
7 socket1: DuplexSocket;
8 socket2: DuplexSocket;
9 }
10
11 export = DuplexPair;
12}