Fix types

This commit is contained in:
Christian Cueni 2022-10-24 14:16:35 +02:00
parent 6f1adeb95c
commit 844b18196f
2 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ const props = withDefaults(defineProps<Props>(), {
items: () => [], items: () => [],
}); });
const dropdownSelected = computed({ const dropdownSelected = computed<DropdownSelectable>({
get: () => props.modelValue, get: () => props.modelValue,
set: (val) => emit("update:modelValue", val), set: (val) => emit("update:modelValue", val),
}); });