Skip to content

Commit

Permalink
docs: missing lang="ts" in code snippet (#2727)
Browse files Browse the repository at this point in the history
closes #2720
  • Loading branch information
AloisSeckar committed Mar 4, 2024
1 parent e72e53e commit c7fd561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/components/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ The `emits` option and `defineEmits()` macro also support an object syntax. If u
<div class="composition-api">

```vue
<script setup>
<script setup lang="ts">
const emit = defineEmits({
submit(payload: { email: string, password: string }) {
// return `true` or `false` to indicate
Expand Down

0 comments on commit c7fd561

Please sign in to comment.