File tree Expand file tree Collapse file tree 2 files changed +2174
-2021
lines changed
framework/core/js/src/admin/components Expand file tree Collapse file tree 2 files changed +2174
-2021
lines changed Original file line number Diff line number Diff line change @@ -84,14 +84,14 @@ const ColorPreviewSettingType = 'color-preview' as const;
8484 * Valid options for the setting component builder to generate a Switch.
8585 */
8686export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions {
87- type : typeof BooleanSettingTypes [ number ] ;
87+ type : ( typeof BooleanSettingTypes ) [ number ] ;
8888}
8989
9090/**
9191 * Valid options for the setting component builder to generate a Select dropdown.
9292 */
9393export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
94- type : typeof SelectSettingTypes [ number ] ;
94+ type : ( typeof SelectSettingTypes ) [ number ] ;
9595 /**
9696 * Map of values to their labels
9797 */
@@ -103,7 +103,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
103103 * Valid options for the setting component builder to generate a Textarea.
104104 */
105105export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
106- type : typeof TextareaSettingTypes [ number ] ;
106+ type : ( typeof TextareaSettingTypes ) [ number ] ;
107107}
108108
109109/**
You can’t perform that action at this time.
0 commit comments