X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FJsonType.ts;h=8908b7815a9f64e53433dc6d67a18cb846732015;hb=43bb4cd9ccb69bbf6b22fc6d8b58c79792a1d865;hp=8ed02231f04d94fc942e2fdb8c30f9fc443be19a;hpb=122d9243eeb1a125dab68b6ab681f544e65dfbbb;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/JsonType.ts b/src/types/JsonType.ts index 8ed02231..8908b781 100644 --- a/src/types/JsonType.ts +++ b/src/types/JsonType.ts @@ -1,7 +1,7 @@ +type JsonArray = Array; + +export type JsonValue = string | number | boolean | Date | JsonType | JsonArray; + export interface JsonType { [key: string]: JsonValue; } - -type JsonArray = Array; - -type JsonValue = string | number | boolean | Date | JsonType | JsonArray;