Subscribe on changes!

When I use "typescript 4.8.4" to package the production environment, I get a few errors and switch to "typescript 4.6.4" and everything works fine.

avatar
Sep 29th 2022

Vue version

3.2.25

Link to minimal reproduction

https://codesandbox.io/p/github/MaybeQHL/vue-vant-base/draft/compassionate-khayyam?file=%2Fpackage.json&selection=%5B%7B%22endColumn%22%3A47%2C%22endLineNumber%22%3A8%2C%22startColumn%22%3A47%2C%22startLineNumber%22%3A8%7D%5D&workspace=%257B%2522activeFileId%2522%253A%2522cl8mh0jbe002qlofgfyvq4iwy%2522%252C%2522openFiles%2522%253A%255B%2522%252FREADME.md%2522%252C%2522%252Fpackage.json%2522%255D%252C%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522gitSidebarPanel%2522%253A%2522COMMIT%2522%252C%2522sidekickItems%2522%253A%255B%257B%2522key%2522%253A%2522cl8mh6pmz000x3n6h6et29z7h%2522%252C%2522type%2522%253A%2522PROJECT_SETUP%2522%252C%2522isMinimized%2522%253Afalse%257D%252C%257B%2522type%2522%253A%2522PREVIEW%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A23333%252C%2522key%2522%253A%2522cl8mh191800nm3n6h6l0vcbzr%2522%252C%2522isMinimized%2522%253Afalse%252C%2522path%2522%253A%2522%252F%2523%252Flogin%253Fredirect%253D%252Fhome%2522%257D%252C%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522key%2522%253A%2522cl8mh16id00i23n6hp6q2ng2w%2522%252C%2522isMinimized%2522%253Afalse%257D%255D%257D

Steps to reproduce

command: npm run build

What is expected?

working

What is actually happening?

When I use "typescript 4.8.4" to package the production environment, I get a few errors and switch to "typescript 4.6.4" and everything works fine.

image

System Info

No response

Any additional comments?

No response

avatar
Mar 20th 2023

Sorry, but I can't access the reproduction URL. Would you please update it if the problem still exists?