mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-30 19:23:29 -05:00
Fixes
This commit is contained in:
parent
835b2c1121
commit
39d6e1a5bb
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ const settings = definePluginSettings({
|
||||||
reasons: {
|
reasons: {
|
||||||
description: "Your custom reasons",
|
description: "Your custom reasons",
|
||||||
type: OptionType.COMPONENT,
|
type: OptionType.COMPONENT,
|
||||||
default: [],
|
default: [""],
|
||||||
component: ReasonsComponent,
|
component: ReasonsComponent,
|
||||||
},
|
},
|
||||||
textInputDefault: {
|
textInputDefault: {
|
||||||
|
|
|
@ -204,7 +204,7 @@ export type SettingsChecks<D extends SettingsDefinition> = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PluginSettingDef =
|
export type PluginSettingDef =
|
||||||
(PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) |
|
(PluginSettingCommon & PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) |
|
||||||
(PluginSettingComponentDef & Omit<PluginSettingCommon, "description" | "placeholder">) | ((
|
(PluginSettingComponentDef & Omit<PluginSettingCommon, "description" | "placeholder">) | ((
|
||||||
| PluginSettingStringDef
|
| PluginSettingStringDef
|
||||||
| PluginSettingNumberDef
|
| PluginSettingNumberDef
|
||||||
|
|
Loading…
Reference in a new issue