-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: compilerscope: sfc
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
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: compilerscope: sfc