Found another way to fix bogus ".call" inspection warnings

This commit is contained in:
Jeff Parsons 2017-08-08 18:02:04 -07:00 committed by Jeff Parsons
commit 591d6b85d5

View file

@ -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) {