From 591d6b85d531101ab847e4c28886fe2ed0264c6f Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Tue, 8 Aug 2017 18:02:04 -0700 Subject: [PATCH] Found another way to fix bogus ".call" inspection warnings --- modules/pcx86/lib/serial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pcx86/lib/serial.js b/modules/pcx86/lib/serial.js index 740c8f448..5a37006d3 100644 --- a/modules/pcx86/lib/serial.js +++ b/modules/pcx86/lib/serial.js @@ -332,7 +332,7 @@ class SerialPort extends Component { if (this.connection) { var exports = this.connection['exports']; if (exports) { - var fnConnect = exports['connect']; + var fnConnect = /** @function */ (exports['connect']); if (fnConnect) fnConnect.call(this.connection, this.fNullModem); this.sendData = exports['receiveData']; if (this.sendData) {