fix: add missing type generic to clone()
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 13 Feb 2024 22:41:26 +0000 (23:41 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 13 Feb 2024 22:41:26 +0000 (23:41 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Utils.ts

index c0ee87f02234a8412019c40182a5ea3321c96b94..9bd5a9bb3ec990e16d92cfcc95dc3070ea9ec636 100644 (file)
@@ -213,7 +213,7 @@ export const extractTimeSeriesValues = (timeSeries: TimestampedData[]): number[]
 }
 
 export const clone = <T>(object: T): T => {
-  return cloneDeep(object)
+  return cloneDeep<T>(object)
 }
 
 /**