Found another way to fix bogus ".call" inspection warnings
This commit is contained in:
parent
2fc2872386
commit
591d6b85d5
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ class SerialPort extends Component {
|
||||||
if (this.connection) {
|
if (this.connection) {
|
||||||
var exports = this.connection['exports'];
|
var exports = this.connection['exports'];
|
||||||
if (exports) {
|
if (exports) {
|
||||||
var fnConnect = exports['connect'];
|
var fnConnect = /** @function */ (exports['connect']);
|
||||||
if (fnConnect) fnConnect.call(this.connection, this.fNullModem);
|
if (fnConnect) fnConnect.call(this.connection, this.fNullModem);
|
||||||
this.sendData = exports['receiveData'];
|
this.sendData = exports['receiveData'];
|
||||||
if (this.sendData) {
|
if (this.sendData) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue