From e843aa4048c6bfcad2d8e54763b649eda57dbcb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 14 Jul 2023 21:52:57 +0200 Subject: [PATCH] build(simulator): silence linter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/AutomaticTransactionGenerator.ts | 2 +- .../ocpp/1.6/OCPP16IncomingRequestService.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/charging-station/AutomaticTransactionGenerator.ts b/src/charging-station/AutomaticTransactionGenerator.ts index 2b21d2ea..f2994529 100644 --- a/src/charging-station/AutomaticTransactionGenerator.ts +++ b/src/charging-station/AutomaticTransactionGenerator.ts @@ -112,7 +112,7 @@ export class AutomaticTransactionGenerator extends AsyncResource { this.runInAsyncScope( this.internalStartConnector.bind(this) as ( this: AutomaticTransactionGenerator, - ...args: any[] + ...args: unknown[] ) => Promise, this, connectorId, diff --git a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts index 50c46f29..c9400e66 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -416,7 +416,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { this.runInAsyncScope( chargingStation.reset.bind(chargingStation) as ( this: ChargingStation, - ...args: any[] + ...args: unknown[] ) => Promise, chargingStation, `${commandPayload.type}Reset` as OCPP16StopTransactionReason, @@ -1088,7 +1088,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { this.runInAsyncScope( this.updateFirmwareSimulation.bind(this) as ( this: OCPP16IncomingRequestService, - ...args: any[] + ...args: unknown[] ) => Promise, this, chargingStation, @@ -1099,7 +1099,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { this.runInAsyncScope( this.updateFirmwareSimulation.bind(this) as ( this: OCPP16IncomingRequestService, - ...args: any[] + ...args: unknown[] ) => Promise, this, chargingStation, -- 2.34.1