chore(SelectCustom): improve options type

This commit is contained in:
Benjamin Canac
2023-02-16 11:53:19 +01:00
parent 87f3f0b4c0
commit 2b78b5d7dc

View File

@@ -110,7 +110,7 @@ const props = defineProps({
default: undefined
},
options: {
type: Array as PropType<{ [key: string]: any, disabled?: boolean }[]>,
type: Array as PropType<{ [key: string]: any, disabled?: boolean }[] | string[]>,
default: () => []
},
required: {