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
Storage: storage records in JSON file as an array to ease import.
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index f453c8220fcb7a24c182ba602efe95dbdaff6ea3..5da54a2e150fb64940c563ca6494297f7f0f7306 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-58,7
+58,7
@@
export default class Utils {
return 0;
}
if (Number.isSafeInteger(value)) {
return 0;
}
if (Number.isSafeInteger(value)) {
- return
changedValue
;
+ return
value as number
;
}
// Check
if (Utils.isString(value)) {
}
// Check
if (Utils.isString(value)) {