-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed as duplicate of#13847
Closed as duplicate of#13847
Copy link
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: sfc
Description
Vue version
3.5.15-3.5.16, 3.5.19-3.5.21
Link to minimal reproduction
Steps to reproduce
- Open the reproduction link
- Check the developer console
- You will see the runtime prop validation warning:
Invalid prop: type check failed for prop "placement". Expected Object, got String with value "bottom".
What is expected?
There should be no prop validation warning.
What is actually happening?
Before version 3.5.15, the runtime type was inferred as null
when using a complex type like Prettify
. Now, it is inferred as Object
, which doesn’t seem correct for runtime type checking in this case.
System Info
Any additional comments?
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: sfc