Skip to content

Commit e900782

Browse files
committed
Suppressed linting errors in complex promise function
1 parent 361fe17 commit e900782

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/RICMsgHandler.ts

+5
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ export default class RICMsgHandler {
331331
);
332332
}
333333

334+
// TODO - Investigate whether these lint errors are actually an issue
335+
/* eslint-disable no-async-promise-executor */
336+
/* eslint-disable @typescript-eslint/no-explicit-any */
334337
async sendCommsMsg<T>(
335338
msgPayload: Uint8Array,
336339
msgDirection: CommsMsgTypeCode,
@@ -390,6 +393,8 @@ export default class RICMsgHandler {
390393
});
391394
return promise;
392395
}
396+
/* eslint-enable no-async-promise-executor */
397+
/* eslint-enable @typescript-eslint/no-explicit-any */
393398

394399
msgTrackingTxCmdMsg<T>(
395400
msgFrame: Uint8Array,

0 commit comments

Comments
 (0)