Closed NikhilVerma closed 3 years ago
You could config "allowJs": false
in tsconfig to ignore <script lang="js">
.
@johnsoncodehk What you are referring to is the checkJs
flag. allowJs
flag simply allows TS to scan JS files, not validate them. I believe this issue is still relevant.
Currently vue-tsc seems to validate all
vue
files regardless if they use Typescript or not. If a project is adopting Typescript it makes it difficult to use vue-tsc.