From f90c1757e0620ff455e9cd0f90245872b9d77b01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 29 Aug 2022 23:37:33 +0200 Subject: [PATCH] Add return type to methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index ccd72ff2..a47bc681 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -748,7 +748,7 @@ export default class ChargingStation { } } - public startAutomaticTransactionGenerator() { + public startAutomaticTransactionGenerator(): void { if (!this.automaticTransactionGenerator) { this.automaticTransactionGenerator = AutomaticTransactionGenerator.getInstance( this.getAutomaticTransactionGeneratorConfigurationFromTemplate(), @@ -767,7 +767,7 @@ export default class ChargingStation { } } - private flushMessageBuffer() { + private flushMessageBuffer(): void { if (this.messageBuffer.size > 0) { this.messageBuffer.forEach((message) => { // TODO: evaluate the need to track performance -- 2.34.1