From: Jérôme Benoit Date: Fri, 14 Jul 2023 19:52:57 +0000 (+0200) Subject: build(simulator): silence linter X-Git-Tag: v1.2.18~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e843aa4048c6bfcad2d8e54763b649eda57dbcb3;p=e-mobility-charging-stations-simulator.git build(simulator): silence linter Signed-off-by: Jérôme Benoit --- 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,