Subscribe on changes!

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.

avatar
Sep 28th 2022

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?

image

System Info

No response

Any additional comments?

No response

avatar
Sep 28th 2022

Repeoduction missing.