From a6243c35f4df13144b5e56474ed7e93e4096ecc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 10 Feb 2022 16:01:07 +0100 Subject: [PATCH] Reorder JsonType declarations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/types/JsonType.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.34.1