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
Issue with Pug template v2.0.0 - never read warning #3930
Comments
I thought I was going crazy from running into the same issue after having set up my typescript/linting within our pug templates last week and having no issue. Unfortunate timing I guess. Yeah, seems like it's a language tools v2.0 issue on composition API components, whether Previously the work around for fake positives on 'never read' values were fixed by adding |
Option clicking on references in the template also no longer works, could be related. |
Yeah likely the same issue, same for hovering over script variables in the template which would usually give type info |
Same issue |
2.0.5 does not resolve the issue with the It also still does not validate ts within the template section, so it doesn't highlight things like calling a method with incorrect params, or have any type info on hover. while running Has anyone managed to get it to work for them? I have this in my
environment details
|
Have you made sure to be on the latest version of @vue/language-plugin-pug? That fixed the problem for me.
|
Yep that worked, thank you so much 🎉 |
Seem likes the new version has not been compatible with template using pug yet?
I'm using the components and methods on template but it's still showing unused warnings.
The text was updated successfully, but these errors were encountered: