[ Vue ] TypeScript error on props
when passed to mount
#25563
Unanswered
jon-karlsen
asked this question in
Component Testing
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Setup based on this example produces the following error for each occurrence
props
being passed tomount
:While all relevant tests do work, and I can suppress the error using
//@ts-ignore
, I'd obviously prefer to typemount
properly. I can't find any information on how to do so in the docs or any relevant issues to work off of. I've messed around a little with various types and combinations thereof, but it's not making me much the wiser--any ideas on how to go about fixing this?Using:
vue
: 3.2.45cypress
: 12.4.0Beta Was this translation helpful? Give feedback.
All reactions