From: Jérôme Benoit Date: Thu, 10 Feb 2022 15:01:07 +0000 (+0100) Subject: Reorder JsonType declarations X-Git-Tag: v1.1.47~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a6243c35f4df13144b5e56474ed7e93e4096ecc2;p=e-mobility-charging-stations-simulator.git Reorder JsonType declarations Signed-off-by: Jérôme Benoit --- diff --git a/src/types/JsonType.ts b/src/types/JsonType.ts index 8ed02231..79670c9a 100644 --- a/src/types/JsonType.ts +++ b/src/types/JsonType.ts @@ -1,7 +1,8 @@ +type JsonArray = Array; + +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;