repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: rename cloneObject() -> clone()
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 3827d0dde99c519d6efb9477ff39e60cfb3d18ab..95c36bf93c53b147cf77d2f29756f6891da529b0 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-257,7
+257,7
@@
const deepClone = <I extends CloneableData, O extends CloneableData = I>(
return clone as O
}
-export const clone
Object
= <T>(object: T): T => {
+export const clone = <T>(object: T): T => {
return deepClone(object as CloneableData) as T
}