Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion active-rfcs/0000-script-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Introduce a new script type in Single File Components: `<script setup>`, which e
foo: String,
})
// 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.

</script>
```

Expand Down