Add chargePointSerialNumberPrefix support to CS template
[e-mobility-charging-stations-simulator.git] / src / types / JsonType.ts
index 2bd219f40ab9f982961ac5774596f5398ae0d353..8908b7815a9f64e53433dc6d67a18cb846732015 100644 (file)
@@ -1,5 +1,7 @@
+type JsonArray = Array<JsonValue>;
+
+export type JsonValue = string | number | boolean | Date | JsonType | JsonArray;
+
 export interface JsonType {
-  [x: string]: string | number | boolean | Date | JsonType | JsonArray;
+  [key: string]: JsonValue;
 }
-
-type JsonArray = Array<string | number | boolean | Date | JsonType | JsonArray>;