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(ui): cleanup type definitions
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
types
/
JsonType.ts
diff --git
a/ui/web/src/types/JsonType.ts
b/ui/web/src/types/JsonType.ts
index 3a2765f6120552337b53fd1499d9b2a2b35214b4..8f597383a4bba8d98e727288dd987a579c1c0328 100644
(file)
--- a/
ui/web/src/types/JsonType.ts
+++ b/
ui/web/src/types/JsonType.ts
@@
-1,3
+1,3
@@
-export type JsonType = JsonPrimitive | JsonType[] | JsonObject
+type JsonPrimitive = string | number | boolean | Date | null
export type JsonObject = { [key in string]?: JsonType }
export type JsonObject = { [key in string]?: JsonType }
-export type Json
Primitive = string | number | boolean | Date | null
+export type Json
Type = JsonPrimitive | JsonType[] | JsonObject