X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FJsonType.ts;h=256f0f42f7c76b7fccb1e16b2cb70921391c3534;hb=6a4032b5d8f3cbaa18d3beddcdfe9d335c1cba90;hp=5b6c9f6fc4184e019288b02caa3366d3e8d8160b;hpb=e3822d6f1b40477f7308ad70c290ed2c4106c585;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/JsonType.ts b/src/types/JsonType.ts index 5b6c9f6f..256f0f42 100644 --- a/src/types/JsonType.ts +++ b/src/types/JsonType.ts @@ -1,7 +1,7 @@ type JsonPrimitive = string | number | boolean | Date | null; export type JsonObject = { - [key in string]: JsonType; + [key in string]?: JsonType; }; export type JsonType = JsonPrimitive | JsonType[] | JsonObject;