DefineProps don't convert generic type to Object
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
- create a generic component
- define props with the generic type:
Object as PropType<T>
- define a function which has props in parameters
- execute the function with defined props
- catch the following error
What is expected?
prop modelValue has a T
type
What is actually happening?
at the line useTestUseCase(props);
has error
System Info
No response
Any additional comments?
No response