Update TS types, make it work in newest Chrome

This commit is contained in:
Maciej Mrozinski 2020-11-13 13:52:03 +01:00
parent e2f2bb3067
commit b20b6c2fc3
2 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@ class WebSerialPackageIO implements pxt.HF2.PacketIO {
let io = WebSerialPackageIO.portIos.filter(i => i.port == port)[0];
if (!io) {
const options: SerialOptions = {
baudrate: 460800,
buffersize: 4096
baudRate: 460800,
bufferSize: 4096
};
io = new WebSerialPackageIO(port, options);
WebSerialPackageIO.portIos.push(io);

View File

@ -33,7 +33,7 @@
],
"devDependencies": {
"@types/bluebird": "2.0.33",
"@types/dom-serial": "0.1.0",
"@types/dom-serial": "^1.0.0",
"@types/jquery": "3.5.1",
"@types/marked": "0.3.0",
"@types/node": "8.0.53",