Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Dec 1, 2023
1 parent 394fdaf commit 8b91e6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/core/js/src/admin/components/AdminPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,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
*/
Expand All @@ -107,7 +107,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];
}

/**
Expand Down

0 comments on commit 8b91e6e

Please sign in to comment.