π§΅ 1/2 in @vuejs.org language tools latest update, "v-for" now treats keys with "number" type the same way TypeScript and Vue.js runtime does, keys are automatically typed as string. Better consistency, fewer surprises. π
Post
PR π github.com/vuejs/langua...
github.comfeat(language-core): align `v-for` key type with `Object.keys` by serkodev Β· Pull Request #5837 Β· vuejs/language-toolsalign v-for keys to string type, align with vue/core Object.keys
support string-only union type like 'a' | 'b'
0 reposts0 likes
No replies yet.