From: Jérôme Benoit Date: Tue, 22 Dec 2020 15:48:38 +0000 (+0100) Subject: Typing. X-Git-Tag: v1.0.1-0~152^2~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ca64a820a377d72c5480f3a066f731947d232214;p=e-mobility-charging-stations-simulator.git Typing. Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 83cb66ec..226f54c4 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -17,7 +17,7 @@ export default class Utils { return new Date(milliSeconds).toISOString().substr(11, 8); } - static removeExtraEmptyLines(tab): void { + static removeExtraEmptyLines(tab: string[]): void { // Start from the end for (let i = tab.length - 1; i > 0; i--) { // Two consecutive empty lines?