Types of property 'emits' are incompatible #2538
Labels
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
upstream
Hi!
I updated the dependencies in my project recently and now I have some issues in my unit tests.
See example in the repo - https://github.com/Oleksii14/volar-vitest
Steps to reproduce:
HelloWorld
that is provided toshallowMount
.Unit test code:
Component code:
Also, when you uncomment
defineEmits([] as string[]);
, it will fix the issueThe text was updated successfully, but these errors were encountered: