Typing inherited attributes #12760
Unanswered
Haberkamp
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, is there a way to add types for inherited attributes? I have a test where I want to add a
onClick
handler but it's not typed, so I need to supress the error. The test itself works.when I then use
defineEmits()
to add the types, I have the typings but thev-bind="$attrs"
for event handlers no longer works, I need to add every possible event handler manually, making thev-bind="$attrs"
almost useless.Beta Was this translation helpful? Give feedback.
All reactions