Closed as duplicate of#13444
Description
Vue version
3.5.16
Link to minimal reproduction
Steps to reproduce
Just open the repro link.
What is expected?
It should print no warnings in the console.
What is actually happening?
Typescript shows that C
is union of string literals, but we get the error:
Invalid prop: type check failed for prop "c". Expected Object, got String with value "a1".
at <Childc="a1">
at <Repl>
System Info
System:
OS: macOS 15.5
CPU: (12) arm64 Apple M3 Pro
Memory: 184.22 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.2.0 - /opt/homebrew/bin/node
npm: 11.3.0 - /opt/homebrew/bin/npm
Browsers:
Chrome: 137.0.7151.104
Safari: 18.5
Any additional comments?
Linked to this issue.
Metadata
Metadata
Assignees
Labels
No labels