From 4396b1e0bca8b2ad97bfff7ec36c623b14f2ea21 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 13 Sep 2025 18:57:10 +0900 Subject: [PATCH] fix --- packages/frontend/src/composables/use-mkselect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/composables/use-mkselect.ts b/packages/frontend/src/composables/use-mkselect.ts index 538058a58f..7cb470d169 100644 --- a/packages/frontend/src/composables/use-mkselect.ts +++ b/packages/frontend/src/composables/use-mkselect.ts @@ -20,7 +20,7 @@ export function useMkSelect< : (TItemsValue | TInitialValue) >(opts: { items: TItemsInput; - initialValue?: (OptionValue extends TItemsValue ? OptionValue : TInitialValue) & ( + initialValue?: (TInitialValue | (OptionValue extends TItemsValue ? OptionValue : TInitialValue)) & ( TItemsValue extends TInitialValue ? unknown : { 'Error: Type of initialValue must include all types of items': TItemsValue }