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
Labels
duplicate
This issue or pull request already exists
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
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
The text was updated successfully, but these errors were encountered: