-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
No errors are reported in vue3 #783
Comments
@cuihaoweb I'm sure you have an error in the config. new ForkTsCheckerWebpackPlugin({
typescript: {
extensions: {
vue: {
enabled: true,
compiler: '@vue/compiler-sfc'
}
}
}
}),
|
I have the same issue with Vue 2.7.14 and my config is (to my understanding) correct: {
"async": false,
"typescript": {
"enabled": true,
"extensions": {
"vue": {
"enabled": true,
"compiler": "@vue/compiler-sfc"
}
},
"memoryLimit": 4096,
"profile": false,
"diagnosticOptions": {
"syntactic": true,
"semantic": true,
"declaration": false,
"global": true
}
},
"logger": {
"infrastructure": "silent"
}
} |
@timonbandit SFC script setup type checking does not work for Vue 3. |
🎉 This issue has been resolved in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behavior
No errors were detected in vue3
Expected behavior
Report an error in the console
Steps to reproduce the issue
This is used in vue3:
this is webpack.config.js:
num is a string, but ts does not report an error after ++
Issue reproduction repository
Environment
The text was updated successfully, but these errors were encountered: