From 58b91acf77a1381707dededda945202beec2d96b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 13 Feb 2024 23:41:26 +0100 Subject: [PATCH] fix: add missing type generic to clone() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } /** -- 2.34.1