chore(RadioGroup/Select): remove useless as any on valueKey

This commit is contained in:
Benjamin Canac
2024-09-03 15:37:02 +02:00
parent 52e2fd75c2
commit c2b9948a07
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ import { useId } from '#imports'
import { useFormField } from '../composables/useFormField'
const props = withDefaults(defineProps<RadioGroupProps<T>>(), {
valueKey: 'value' as any,
valueKey: 'value',
orientation: 'vertical'
})
const emits = defineEmits<RadioGroupEmits>()

View File

@@ -102,7 +102,7 @@ import UAvatar from './Avatar.vue'
import UChip from './Chip.vue'
const props = withDefaults(defineProps<SelectProps<T>>(), {
valueKey: 'value' as any,
valueKey: 'value',
portal: true
})
const emits = defineEmits<SelectEmits>()