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
File '[...]/src/App.vue.__VLS_template.jsx' is a JavaScript file. Did you mean to enable the 'allowJs' option? #1452
Labels
bug
Something isn't working
Comments
Seeing the same problem. In my case it is caused by single-file-components that do not have a Adding |
@Eusebius1920 You are right The content of my <template lang="pug">
router-view
</template> |
Thanks for the report. v0.37.8 is a version update for petite-vue, if you don't use petite-vue, you can downgrade to v0.37.7 for now. |
cexbrayat
added a commit
to cexbrayat/vue-test-utils-next
that referenced
this issue
Jun 15, 2022
cexbrayat
added a commit
to cexbrayat/vue-test-utils-next
that referenced
this issue
Jun 15, 2022
cexbrayat
added a commit
to vuejs/test-utils
that referenced
this issue
Jul 4, 2022
* chore: workaround vue-tsc issue vuejs/language-tools#1452 * fix mount overload, allow DefineComponent to infer it's own generics * readding missing parameters * add overload for vue-tsc Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
HosokawaR
added a commit
to twin-te/twinte-landing-page
that referenced
this issue
Aug 31, 2022
ts の指定がないと vue-tsc がエラーを吐く vuejs/language-tools#1452
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is new and occurred between
> 0.37.5, <= 0.37.8
Setting it to allowJs true works for now, but I personally prefer not to allow it, so I get an error when someone in my team writes a js instead of ts file.
The text was updated successfully, but these errors were encountered: