diff --git a/framework/core/js/src/admin/components/AdminPage.tsx b/framework/core/js/src/admin/components/AdminPage.tsx index 8a3b4bc1f..39f8fe295 100644 --- a/framework/core/js/src/admin/components/AdminPage.tsx +++ b/framework/core/js/src/admin/components/AdminPage.tsx @@ -77,7 +77,7 @@ export interface HTMLInputSettingsComponentOptions extends CommonSettingsItemOpt const BooleanSettingTypes = ['bool', 'checkbox', 'switch', 'boolean'] as const; const SelectSettingTypes = ['select', 'dropdown', 'selectdropdown'] as const; const TextareaSettingTypes = ['textarea'] as const; -const ColorPreviewSettingType = 'color-preview'; +const ColorPreviewSettingType = 'color-preview' as const; /** * Valid options for the setting component builder to generate a Switch.