Props type on component instance is weird when passing an empty object to the `props` field
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
Open the production link, goto a.ts
, and hover on Props
. You'll see it's type is weird.
What is expected?
It should be an empty object
What is actually happening?
It includes many array methods.
System Info
Irrelevant - we can reproduce it easily in vue playground and it's a type issue
Any additional comments?
On first glance, it looks like the array types may be coming from the string[]
part of this union