fix(ui): refresh add charging stations button on UI server switch
[e-mobility-charging-stations-simulator.git] / src / types / JsonType.ts
index 5b6c9f6fc4184e019288b02caa3366d3e8d8160b..17db232c50cb7c55ec21d80cb0aacd1137010415 100644 (file)
@@ -1,7 +1,7 @@
-type JsonPrimitive = string | number | boolean | Date | null;
+type JsonPrimitive = string | number | boolean | Date | null
 
 export type JsonObject = {
-  [key in string]: JsonType;
-};
+  [key in string]?: JsonType
+}
 
-export type JsonType = JsonPrimitive | JsonType[] | JsonObject;
+export type JsonType = JsonPrimitive | JsonType[] | JsonObject