Skip to content

Add readonly import to code sample #378

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

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

thedamon
Copy link
Contributor

@thedamon thedamon commented Aug 3, 2020

Not completely sure the rules for when to have the vue imports in code samples, but not having this one threw me because the ones directly above do have the imports, and it seems each vue function is imported at least once in the example code.

I spent some time checking if readonly was a native javascript feature of proxies since I've never actually worked with them. Showing the import should quickly clear up where it's coming form.

Not completely sure the rules for when to have the vue imports in code samples, but not having this one threw me because the ones directly above do have the imports, and it seems each vue function is imported at least once in the example code.

I spent some time checking if readonly was a native javascript feature of proxies since I've never actually worked with them. Showing the import should quickly clear up where it's coming form.
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thedamon thank you! it makes sense to add imports here

@NataliaTepluhina NataliaTepluhina merged commit f40f7ee into vuejs:master Aug 3, 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