vetur
vetur copied to clipboard
remove type check when not use typescript
Info
- Platform: macOS
- Vetur version:0.19.1
- VS Code version:1.33.1
Problem
I use vue and only js not typescript so I don't want some type linter but vetur show so much wrong alert when I code
so how to close these errors and this case not happen yesterday so.......
Reproducible Case
props没有Array格式的时候,不会报错,你可以试试。 感觉是个bug
Same issues here, change back to the last version and fixed it.
Same issues here, change back to the last version and fixed it.
yes last version(0.18.1) no this question
I have encountered the same problem
version 0.18.1 is ok
Please file new issue with a repro case.
I had the same problem. This took my a while to figure out but I think I have it.
To disable type-checking for JavaScript files, add checkJs: false
to the compilerOptions
section of your jsconfig.json
.
This is my jsconfig.json
:
{
"include": ["./src/**/*"],
"compilerOptions": {
"checkJs": false
}
}
Will fix when https://github.com/vuejs/vetur/pull/1824 merged
Hello?