refactor(ui): cleanup type definitions
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / JsonType.ts
index 3a2765f6120552337b53fd1499d9b2a2b35214b4..8f597383a4bba8d98e727288dd987a579c1c0328 100644 (file)
@@ -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 JsonPrimitive = string | number | boolean | Date | null
+export type JsonType = JsonPrimitive | JsonType[] | JsonObject