diff --git a/ServerSerial.d.ts b/ServerSerial.d.ts index 874e6c8..9078137 100644 --- a/ServerSerial.d.ts +++ b/ServerSerial.d.ts @@ -2,8 +2,10 @@ import * as events from 'events'; import { SerialPortOpenOptions } from "serialport" import { FCallback, IServiceVector } from './ServerTCP'; import { ErrorCallback } from '@serialport/stream'; +import ServerSerialPipeHandler from './servers/serverserial_pipe_handler'; export class ServerSerial extends events.EventEmitter { + socks: Map; constructor(vector: IServiceVector, options: IServerSerialOptions); close(cb: FCallback): void; } diff --git a/ServerTCP.d.ts b/ServerTCP.d.ts index 1d86f55..5401420 100644 --- a/ServerTCP.d.ts +++ b/ServerTCP.d.ts @@ -1,6 +1,8 @@ import * as events from 'events'; +import net from "net"; export class ServerTCP extends events.EventEmitter { + socks: Map constructor(vector: IServiceVector, options: IServerOptions); close(cb: FCallback): void; }