-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: [TypeScript] findAllComponents
type definition with Vue generic
#2254
Comments
@joris-fonck-loreal Thanks for the repro. We have a WIP PR to have better types that should land shortly, so maybe this will fix your issue as well. You can track the progress of #2242, and check again when it is merged and released. If the issue persists, then we'll take a closer look 👍 |
Thanks a lot. I'm waiting for the release of the PR and I will come back to you afterwards. Regards. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I use a library that ship
d.ts
files for Vue.js components, usingvite-plugin-dts
, and I'm trying to do unit tests withfindAllComponents
function on a generic component, I have a TS error:If I put a
@ts-ignore
, the test is a success.To Reproduce
Here is a link to reproduce the error. I put all the detail on how to reproduce the issue in the README
Expected behavior
No TS error.
Related information:
Additional context
The text was updated successfully, but these errors were encountered: