defineProps generates unnecessary array of same types
Version
3.2.2
Reproduction link
Steps to reproduce
Use any prop with multiple values of same type. eg.
defineProps<{
depth?: 1 | 2 | 3 | 4 | 5,
}>();
What is expected?
depth
should have type Number
What is actually happening?
depth
has type [Number, Number, Number, Number, Number]