Closed curly210102 closed 2 years ago
Config fork-ts-checker-webpack-plugin with
{ typescript: { extensions: { vue: { enabled: true, compiler: isVue3 ? require.resolve('@vue/compiler-sfc') : require.resolve('vue-template-compiler') } }, diagnosticOptions: { semantic: true, // https://github.com/TypeStrong/ts-loader#happypackmode syntactic: useThreads } } } }
the ts-checker is not working with vue setup-script block.
<script setup lang="ts"> const b:string = 1; </script>
ts-checker works with setup-script block, also works when Githubissues.
Current behavior
Config fork-ts-checker-webpack-plugin with
the ts-checker is not working with vue setup-script block.
Expected behavior
ts-checker works with setup-script block, also works when Githubissues.