From 3d1b1f6f48aed6c41996fd25d26325cae6bd6ee7 Mon Sep 17 00:00:00 2001 From: Mishig Davaadorj Date: Mon, 30 Oct 2023 18:19:46 +0100 Subject: [PATCH] [Widgets refactor] typing use `enum`s --- .../shared/WidgetInfo/WidgetInfo.svelte | 25 +++++++++---------- .../InferenceWidget/shared/helpers.ts | 3 ++- .../InferenceWidget/shared/types.ts | 12 +++++++-- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/js/src/lib/components/InferenceWidget/shared/WidgetInfo/WidgetInfo.svelte b/js/src/lib/components/InferenceWidget/shared/WidgetInfo/WidgetInfo.svelte index 0cb49b5825..fde9999166 100644 --- a/js/src/lib/components/InferenceWidget/shared/WidgetInfo/WidgetInfo.svelte +++ b/js/src/lib/components/InferenceWidget/shared/WidgetInfo/WidgetInfo.svelte @@ -1,6 +1,5 @@