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

fix: Add "boolean" and "symbol" types for "key" attribute. #2614

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

mpawelski
Copy link
Contributor

@mpawelski mpawelski commented Jun 4, 2020

Booleans as keys are supported since v2.4.2(commit) and symbols since v2.5.12(commit).

I created PR as suggested here. I think it now makes clear that this types are supported and not just "happens to work by accident".

I noticed that v-for has "since version" in type so I did the same.

Booleans as keys are supported since v2.4.2 and symbols since v2.5.12.
@bencodezen
Copy link
Member

Great update @mpawelski! Thanks for the in depth research and linking the to the resources which made the review much easier. Really appreciate it! 🙇🏽‍♂️

@bencodezen bencodezen merged commit b0a8f7a into vuejs:master Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants