Closed
Description
Vue version
3.5.11
Link to minimal reproduction
Steps to reproduce
Please Check Comp.vue.
What is expected?
We will be able to use Discriminated Union with default value.
What is actually happening?
If you specify default value of props.type
, all type information except props.type
will be lost.
System Info
No response
Any additional comments?
This is similar to #9335