Skip to content

docs: change defineEmits to defineEmit#243

Closed
Scrum wants to merge 1 commit intovuejs:script-setup-2from
Scrum:patch-1
Closed

docs: change defineEmits to defineEmit#243
Scrum wants to merge 1 commit intovuejs:script-setup-2from
Scrum:patch-1

Conversation

@Scrum
Copy link
Copy Markdown

@Scrum Scrum commented Dec 3, 2020

No description provided.

@Scrum
Copy link
Copy Markdown
Author

Scrum commented Mar 18, 2021

@yyx990803 ping

})
// expects emits options
const emit = defineEmits(['update', 'delete'])
const emit = defineEmit(['update', 'delete'])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the code should be updated to defineEmits to match defineProps. I don't know if it would be a breaking change since this feature is experimental.

This was referenced Apr 22, 2021
@posva posva changed the title docs: fix typo docs: change defineEmits to defineEmit Apr 27, 2021
@yyx990803 yyx990803 closed this Jul 2, 2021
@yyx990803 yyx990803 deleted the branch vuejs:script-setup-2 July 2, 2021 00:24
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.

3 participants