When I use "typescript 4.8.4" to package the production environment, I get an error and switch to "typescript 4.6.4" and everything works fine.
Vue version
3.2.25
Link to minimal reproduction
none
Steps to reproduce
"vite": "^2.7.10",
"vue": "^3.2.25",
"typescript": "^4.8.4",
When I use "typescript 4.8.4" to package the production environment, I get an error and switch to "typescript 4.6.4" and everything works fine.
Components are defined using the "defineComponent setup" method。Export functions through "return"
What is expected?
working.
What is actually happening?
System Info
No response
Any additional comments?
No response