1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

build fix

This commit is contained in:
Eugene Pankov 2021-03-13 22:09:05 +01:00
parent c4204167cd
commit 3676b90c9f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -31,7 +31,7 @@ export class SerialService {
async connectSession (session: SerialSession): Promise<SerialPort> {
const serial = new SerialPort(session.connection.port, {
autoOpen: false,
baudRate: parseInt(session.connection.baudrate),
baudRate: parseInt(session.connection.baudrate as any),
dataBits: session.connection.databits,
stopBits: session.connection.stopbits,
parity: session.connection.parity,