Skip to content

Commit

Permalink
Merge pull request #61 from vuejs-translations/c7fd5615
Browse files Browse the repository at this point in the history
docs: missing lang="ts" in code snippet

closes #2720 (#60)
  • Loading branch information
AloisSeckar authored Mar 4, 2024
2 parents 0cfb9a0 + 92263a4 commit ddc8644
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 @@ -181,7 +181,7 @@ Možnost `emits` a `defineEmits()` makro také podporují objektovou syntaxi. P
<div class="composition-api">

```vue
<script setup>
<script setup lang="ts">
const emit = defineEmits({
submit(payload: { email: string, password: string }) {
// vrací `true` nebo `false` pro určení,
Expand Down

0 comments on commit ddc8644

Please sign in to comment.