From 629d76f417d9b2affb63b5b6da6170d27430ebf4 Mon Sep 17 00:00:00 2001 From: CP Lepage <32472542+cplepage@users.noreply.github.com> Date: Fri, 26 Jul 2024 08:24:37 -0400 Subject: [PATCH] less changes (#559) --- ServerSerial.d.ts | 2 ++ ServerTCP.d.ts | 2 ++ 2 files changed, 4 insertions(+) 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; }