diff --git a/ModbusRTU.d.ts b/ModbusRTU.d.ts index d2c7616..073661d 100644 --- a/ModbusRTU.d.ts +++ b/ModbusRTU.d.ts @@ -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 {