-
-
Notifications
You must be signed in to change notification settings - Fork 250
Closed
Description
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:
<script setup lang="ts">
const num = ref<string>(0);
const addCount = () => {
num.value++;
}
</script>this is webpack.config.js:
new ForkTsCheckerWebpackPlugin({
typescript: {
extensions: {
vue: {
disable: false,
compiler: '@vue/compiler-sfc'
}
}
}
}),num is a string, but ts does not report an error after ++
Issue reproduction repository
Environment
- "fork-ts-checker-webpack-plugin": ^7.2.13
- "typescript": ^4.8.4
- "ts-loader": ^9.4.1
- "vue": "^3.2.41"