vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
https://vuejs.org/
MIT License
47.52k stars 8.31k forks source link

[@vue/compiler-sfc] Failed to resolve index type into finite keys #11378

Open Boke-Space opened 3 months ago

Boke-Space commented 3 months ago

Vue version

3.4.27

Link to minimal reproduction

https://play.vuejs.org/#eNp9Uk1PwkAQ/SuTPWkC9cCtfBg1PegBjXJjOdR2gMV2drO7RQjy351tS8WEcOybN++9fdODeDAm2lYoYjFymVXGg0NfGShSWo2l8E6KiSS/Nwiz9LPApFTewRhucIvkY5DCYYGZlwJ+uo9+WhQtgDuTUt7P1qyHLZZV1vLyf7DZVJo6+BbGE9hqlQ/bAMnO2zTzSXCepiW60WzCUWaAO4+Uuy6UoiVaSHoQRVFqVy6GlPbzRScI95BADMR024l3qix5wal7/GQIp5W2i4MkgHnCtmcqi9Y0sI9skmlyHrBdyXGpqNEbNao3t5JGd80NuHHR4+55Z6lW0cZp4gPVNtyeLo0q0L6a0BbfJ24ChBn3rr9faszbCnsnPFtj9nUB37hdwKR4s+jQbrn1bua5OeS7hnHyMeWOz4alzquC2VeG7+h0UYWMDe2xopxjn/HqtM+l0dYrWs0ct47kTo8KQQPzWPOl4L/06crT/+IOokG9x72L4y/V8/ZC

Steps to reproduce

image

What is expected?

const emits: ((evt: "select", ...args: any[]) => void) & ((evt: "select-all", ...args: any[]) => void) & ((evt: "expand-change", ...args: any[]) => void) & ((evt: "current-change", ...args: any[]) => void) & ((evt: "selection-change", ...args: any[]) => void) image

What is actually happening?

Error: [@vue/compiler-sfc] Failed to resolve index type into finite keys

src/App.vue 1 | Githubissues.

  • Githubissues is a development platform for aggregating issues.