From 132be43e565351cfca10eb2b6793145e692a7147 Mon Sep 17 00:00:00 2001 From: Inbestigator Date: Thu, 20 Feb 2025 22:33:02 -0800 Subject: [PATCH] Typesafe setting --- src/plugins/betterBanReasons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/betterBanReasons/index.tsx b/src/plugins/betterBanReasons/index.tsx index efa54d9f7..20de40188 100644 --- a/src/plugins/betterBanReasons/index.tsx +++ b/src/plugins/betterBanReasons/index.tsx @@ -61,7 +61,7 @@ const settings = definePluginSettings({ reasons: { description: "Your custom reasons", type: OptionType.COMPONENT, - default: [], + default: [] as string[], component: ReasonsComponent, }, isTextInputDefault: {