X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Ftypes%2FJsonType.ts;h=8f597383a4bba8d98e727288dd987a579c1c0328;hb=e99a8ac94ed48bc1dd74bca598b80eb648760e00;hp=3a2765f6120552337b53fd1499d9b2a2b35214b4;hpb=f4b3f35d653138a946d74d5f3c313275ee9c03b2;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/types/JsonType.ts b/ui/web/src/types/JsonType.ts index 3a2765f6..8f597383 100644 --- 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 JsonPrimitive = string | number | boolean | Date | null +export type JsonType = JsonPrimitive | JsonType[] | JsonObject