Skip to content

Commit

Permalink
chore: format js
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 10, 2023
1 parent 05a7e24 commit 2948782
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 @@ -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
*/
Expand All @@ -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];
}

/**
Expand Down

0 comments on commit 2948782

Please sign in to comment.