We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Originally posted by j4k0xb October 1, 2021 when iterating through a map, its typically done like this:
<div v-for="[key, value] in map"
My attempt of also accessing the index:
<div v-for="([key, value], a, b) in map"
a is typed as keyof Map (all the 'clear', 'delete', etc. methods) and b is typed as a number
a
keyof Map
b
number
but actually a is the index and b is always undefined (when printing it) bug in volar?
The text was updated successfully, but these errors were encountered:
7078cd8
No branches or pull requests
Discussed in #542
Originally posted by j4k0xb October 1, 2021
when iterating through a map, its typically done like this:
My attempt of also accessing the index:
a
is typed askeyof Map
(all the 'clear', 'delete', etc. methods)and
b
is typed as anumber
but actually
a
is the index andb
is always undefined (when printing it)bug in volar?
The text was updated successfully, but these errors were encountered: