Closed
Description
Vue - Official extension or vue-tsc version
3.0.0
VSCode version
latest
Vue version
3.5.4
TypeScript version
5.7.3
System Info
package.json dependencies
{
"name": "volar3-component-custom-properties-bug",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"typecheck": "vue-tsc",
"preview": "vite preview"
},
"dependencies": {
"v-viewer": "3.0.20",
"vue": "3.5.4",
"vue-router": "4.4.4"
},
"devDependencies": {
"@types/node": "^24.0.10",
"@vitejs/plugin-vue": "^6.0.0",
"typescript": "5.7.3",
"vite": "^7.0.0",
"vue-tsc": "^3.0.0"
},
"pnpm": {
"patchedDependencies": {
"v-viewer@3.0.20": "patches/v-viewer@3.0.20.patch"
}
}
}
Steps to reproduce
https://github.com/zcf0508/volar3-component-custom-properties-bug
Run pnpm run typecheck
.
What is expected?
no error
What is actually happening?
Link to minimal reproduction
https://github.com/zcf0508/volar3-component-custom-properties-bug
Any additional comments?
I think the reason is that the type declaration patch of v-viewer
.