From: Jérôme Benoit Date: Tue, 13 Feb 2024 22:41:26 +0000 (+0100) Subject: fix: add missing type generic to clone() X-Git-Tag: v1.2.37~62 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=58b91acf77a1381707dededda945202beec2d96b;p=e-mobility-charging-stations-simulator.git fix: add missing type generic to clone() Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index c0ee87f0..9bd5a9bb 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -213,7 +213,7 @@ export const extractTimeSeriesValues = (timeSeries: TimestampedData[]): number[] } export const clone = (object: T): T => { - return cloneDeep(object) + return cloneDeep(object) } /**