Closed
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
When defining props using defineProps with function types that utilize generic type aliases, the compiled prop type incorrectly becomes null instead of Function. This occurs specifically when using:
Generic type aliases (Fun2 in reproduction)
Type aliases referencing generic types (Fun4 in reproduction)
Can see that fn2 and fn4 are null in type
What is expected?
All default function should be Function type
What is actually happening?
fn2 and fn4 both became boolean
System Info
Any additional comments?
No response