Closed tminich closed 3 weeks ago
2.1.8
2.7.16
5.6.3
No response
Test.vue:
<template> <div/> </template> <script setup lang="ts"> import {useCssModule} from 'vue' const $style = useCssModule() </script> <style module lang="scss"> .test { color: rebeccapurple; } </style>
vue-tsc --noEmit --skipLibCheck -w
No bogus issues found.
vue-tsc reports
resources/js/components/common/Test.vue:8:32 - error TS1005: ',' expected. 8 const $style = useCssModule() ~ resources/js/components/common/Test.vue:8:33 - error TS1109: Expression expected. 8 const $style = useCssModule() ~
Bug is new in 2.1.8, reverting to 2.1.6 fixes the issue.
Duplicate of #4951
Ah, sorry. I checked yesterday if this was known and forgot to check again today before reporting ^^'
Vue - Official extension or vue-tsc version
2.1.8
VSCode version
Vue version
2.7.16
TypeScript version
5.6.3
System Info
No response
package.json dependencies
No response
Steps to reproduce
Test.vue:
What is expected?
No bogus issues found.
What is actually happening?
vue-tsc reports
Link to minimal reproduction
No response
Any additional comments?
Bug is new in 2.1.8, reverting to 2.1.6 fixes the issue.