Skip to content

Commit

Permalink
Align TcpPortOptions with TcpSocketConnectOpts (#525)
Browse files Browse the repository at this point in the history
Signed-off-by: yzamir <[email protected]>
  • Loading branch information
yaacov authored Nov 23, 2023
1 parent 6fa8aa0 commit 8e40244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModbusRTU.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ export interface SerialPortUnixPlatformOptions {
}

export interface TcpPortOptions extends TcpSocketConnectOpts {
port?: number;
port: number;
localAddress?: string;
family?: number;
ip?: string;
timeout?: number;
socket: Socket;
socketOpts: SocketConstructorOpts
socketOpts: SocketConstructorOpts;
}

export interface UdpPortOptions {
Expand Down

0 comments on commit 8e40244

Please sign in to comment.