Skip to content

Commit

Permalink
less changes (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
cplepage authored Jul 26, 2024
1 parent f3ee515 commit 629d76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ServerSerial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ServerSerialPipeHandler, 0>;
constructor(vector: IServiceVector, options: IServerSerialOptions);
close(cb: FCallback): void;
}
Expand Down
2 changes: 2 additions & 0 deletions ServerTCP.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import * as events from 'events';
import net from "net";

export class ServerTCP extends events.EventEmitter {
socks: Map<net.Socket, 0>
constructor(vector: IServiceVector, options: IServerOptions);
close(cb: FCallback): void;
}
Expand Down

0 comments on commit 629d76f

Please sign in to comment.