From 294878291c94719747cc1ebaf0e2e392529538c0 Mon Sep 17 00:00:00 2001 From: IanM Date: Fri, 10 Nov 2023 22:09:50 +0000 Subject: [PATCH] chore: format js --- framework/core/js/src/admin/components/AdminPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/core/js/src/admin/components/AdminPage.tsx b/framework/core/js/src/admin/components/AdminPage.tsx index a705c6b047..48d8cc6444 100644 --- a/framework/core/js/src/admin/components/AdminPage.tsx +++ b/framework/core/js/src/admin/components/AdminPage.tsx @@ -87,14 +87,14 @@ const ImageUploadSettingType = 'image-upload' as const; * Valid options for the setting component builder to generate a Switch. */ export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof BooleanSettingTypes[number]; + type: (typeof BooleanSettingTypes)[number]; } /** * Valid options for the setting component builder to generate a Select dropdown. */ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof SelectSettingTypes[number]; + type: (typeof SelectSettingTypes)[number]; /** * Map of values to their labels */ @@ -106,7 +106,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions * Valid options for the setting component builder to generate a Textarea. */ export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof TextareaSettingTypes[number]; + type: (typeof TextareaSettingTypes)[number]; } /**