useAttrs in setup mode doesn't include listeners
Version
3.2.19
Reproduction link
Steps to reproduce
add a listener to a component import and try to console log the attrs using useAttrs
What is expected?
The listener will be added to the attrs
What is actually happening?
listeners are not included in attrs
refs:
https://v3.vuejs.org/guide/migration/listeners-removed.html#overview
@posva Thanks for the reply!
The use case I have is that I basically want to use this function-prop also as a flag and not having to pass another prop. At the same time, I don't want to lose the typings of the emit.
Can this decision be reconsidered somehow?