Skip to content

Conversation

pikax
Copy link
Member

@pikax pikax commented Jul 3, 2020

relates to vuejs/test-utils#144

When using ComponentPublicApi the emit type defaults to an empty object, making the $emit to be unknown type instead of the default emit function (event: string, ...args: any[]) => void

@haoqunjiang
Copy link
Member

This change seems to have broken vue-class-component.
Cc: @ktsn

@pikax
Copy link
Member Author

pikax commented Jul 15, 2020

@sodatea Thank you :)

There's the fix: #1584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants