1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

chore: format js

This commit is contained in:
IanM
2023-11-10 22:09:50 +00:00
parent 05a7e24836
commit 294878291c

View File

@@ -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];
}
/**