From e99a8ac94ed48bc1dd74bca598b80eb648760e00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 7 Mar 2024 17:27:09 +0100 Subject: [PATCH] refactor(ui): cleanup type definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/types/JsonType.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1