-
-
Notifications
You must be signed in to change notification settings - Fork 535
VueWrapper typing problem #3808
Copy link
Copy link
Closed
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it firstupstream: core
Metadata
Metadata
Assignees
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it firstupstream: core
Observed:
While editing the following test file,
for this .vue file:
the type of

wrapper.vmisComponentPublicInstanceinstead of the specific type of the component. This causes the following to be displayed:However, the test runs without a problem.
Expected behavior: Volar will reference the component type when validating code, and not report a problem if there isn't one.
Example project to reproduce problem: https://github.com/stevemandl/vitest_sample