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
Latest vue-tsc release breaks templates that use global variables. #1288
Comments
Hi @BryanHunt, it seems correct report, this error should be come from fixed #1264. |
I have the same problem on <template>
<button
class="text-gray-900 dark:text-gray-50"
@click="$router.push('/')"
>
<HeroIconsHome />
</button>
</template>
However if I add an empty script tab to my SFC, the error disappears. package.json
tsconfig.json
|
@CapitaineToinon I guess tsconfig |
For Nuxt 2 projects you want to install |
I already have Here is a repo with simple reproduciton, created with the following commands:
<template>
<button @click="$router.push('/')">1288</button>
</template> And getting this error on the
|
It seems to work with |
vue-tsc 0.34.12 breaks the following code:
You get the error:
Property '$msal' does not exist on type...
The text was updated successfully, but these errors were encountered: