Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use v-for on the template, I use the index as the key, and the prompt index is declared but its value is never read and vue-tsc cannot pass the verification. #3850

Closed
aibayanyu20 opened this issue Jan 11, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@aibayanyu20
Copy link

Vue version

3.4.8

Link to minimal reproduction

https://play.vuejs.org/#eNp9UU1PwzAM/SuRTyCNTTBO1YbExw5wAATcMIeq80q2NIkSdwxV/e+4KZQhoeUS2+/Zfi9p4NL78bYmyGAWi6A9q0hce2VyW84ROCJcoC2cjayMjnyTc67m6hUtwinCqLvPvu9zBLRvaGeTfpQ0SsJUeZMzSabUkKntycoF2XCkpTTSdkm7Y6XtsARBZRv6FEbCkgwlp2lU16HaNs2b7I3/k8BIxIvulS7H6+isOGy6DoTCVV4bCg+etfhCyFRCOiw3xn3cpRqHmsRWXy/eqdj8U19HUZZJ8BgoUthSeooe4zyUxD28eL6nncQDWLllbYR9AHyi6EzdaexpV7Vdiuw9XlJ7W3kXWNvyJS52TDb+mOqEdsw28RHkm68PWP+VOx1PUx/aFtovf0S0DA==

Steps to reproduce

image

What is expected?

Expect to pass vue-tsc type check

What is actually happening?

Currently unable to pass vue-tsc type check

System Info

No response

Any additional comments?

No response

@LinusBorg LinusBorg transferred this issue from vuejs/core Jan 11, 2024
@so1ve
Copy link
Member

so1ve commented Jan 11, 2024

Duplicate of #329

@so1ve so1ve marked this as a duplicate of #329 Jan 11, 2024
@so1ve so1ve closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
@so1ve so1ve added the duplicate This issue or pull request already exists label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants