Closed as not planned
Description
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.1
Vue version
3.5.9
TypeScript version
5.5.4
System Info
No response
package.json dependencies
{
"name": "vuejs-ts-check-template-bug",
"version": "0.0.0",
"private": true,
"type": "module",
"dependencies": {
"vue": "3.5.9"
}
}
Steps to reproduce
- Clone the minimal reproduction.
- npm install
- Check that there are no errors in
App.vue
. - If you downgrade to Vue
3.5.6
and check again, you will see thatsetDate
has an error.
What is expected?
The errors in <template>
should be shown when // @ts-check
exists.
What is actually happening?
The errors in <template>
are not shown when // @ts-check
exists.
Link to minimal reproduction
https://github.com/twisterniq/vuejs-ts-check-template-bug
Any additional comments?
No response