build(simulator): silence linter
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 14 Jul 2023 19:52:57 +0000 (21:52 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 14 Jul 2023 19:52:57 +0000 (21:52 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/AutomaticTransactionGenerator.ts
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts

index 2b21d2ea366583b3efc8f97298246d6a55e26f82..f29945290c94c5f519a0b932418e55dd596413f2 100644 (file)
@@ -112,7 +112,7 @@ export class AutomaticTransactionGenerator extends AsyncResource {
       this.runInAsyncScope(
         this.internalStartConnector.bind(this) as (
           this: AutomaticTransactionGenerator,
-          ...args: any[]
+          ...args: unknown[]
         ) => Promise<void>,
         this,
         connectorId,
index 50c46f29553109b3618c00b31ad55e32c87b6be9..c9400e6681521f3f3d7494369f68ca87d75f3178 100644 (file)
@@ -416,7 +416,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService {
     this.runInAsyncScope(
       chargingStation.reset.bind(chargingStation) as (
         this: ChargingStation,
-        ...args: any[]
+        ...args: unknown[]
       ) => Promise<void>,
       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<void>,
         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<void>,
             this,
             chargingStation,