This commit is contained in:
thororen1234 2025-01-29 19:48:32 -05:00
parent 835b2c1121
commit 39d6e1a5bb
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ const settings = definePluginSettings({
reasons: {
description: "Your custom reasons",
type: OptionType.COMPONENT,
default: [],
default: [""],
component: ReasonsComponent,
},
textInputDefault: {

View file

@ -204,7 +204,7 @@ export type SettingsChecks<D extends SettingsDefinition> = {
};
export type PluginSettingDef =
(PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) |
(PluginSettingCommon & PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) |
(PluginSettingComponentDef & Omit<PluginSettingCommon, "description" | "placeholder">) | ((
| PluginSettingStringDef
| PluginSettingNumberDef