Types: type narrowing not work in parent component when child component use union type to defineProps
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
If type prop is 'select', value should just a 'String[]', but it allow 'String | String[]'.
In React, it is expected.
What is expected?
Type narrowing should work
What is actually happening?
Type narrowing not work
System Info
No response
Any additional comments?
No response
@pikax @johnsoncodehk same as https://github.com/vuejs/core/pull/9336. Fixed in https://github.com/vuejs/language-tools/pull/3672