repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c82e7
)
fix: add missing type generic to clone()
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 13 Feb 2024 22:41:26 +0000
(23:41 +0100)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index c0ee87f02234a8412019c40182a5ea3321c96b94..9bd5a9bb3ec990e16d92cfcc95dc3070ea9ec636 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-213,7
+213,7
@@
export const extractTimeSeriesValues = (timeSeries: TimestampedData[]): number[]
}
export const clone = <T>(object: T): T => {
- return cloneDeep(object)
+ return cloneDeep
<T>
(object)
}
/**