This repository was archived by the owner on Oct 23, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
Thanks for your reproduce case, but |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a component:
Where
ServerReport
does not have adefineEmits
declaration, and this gives an error. Which is fair enough.The problem is that
ServerReport
proxies all listeners down to a child component via av-bind="$attrs"
. If I add adefineEmits
toServerReport
directly then it breaks the event flow through this proxy.See this SFC Playground example for the 'broken' state. Clicking the button should log a message from the event handle in App.vue but it doesn't. Comment out the
defineEmits
line in Nested.vue and it does.Everything works at runtime, I just need a way to tell
vue-tsc
that I know@row-double-clicked
is safe in this case?Beta Was this translation helpful? Give feedback.
All reactions