SFC useAttrs can't get events except click
Version
3.2.24
Reproduction link
What is expected?
Can get the close event via an useAttrs in Button.vue
What is actually happening?
If I use @close in App.vue and declare close as emit's name in Button.vue it can't get close property via useAttrs. But if I declare onClose as emit's name in Button.vue it can get onClose property via useAttrs, but the emit doesn't work.
Duplicate of https://github.com/vuejs/vue-next/issues/4736