Skip to content

Commit

Permalink
fix: missing lang="ts" in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingCaiChong committed Mar 5, 2024
1 parent f60c9e4 commit 02d6ead
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 @@ -199,7 +199,7 @@ export default {
<div class="composition-api">

```vue
<script setup>
<script setup lang="ts">
const emit = defineEmits({
submit(payload: { email: string, password: string }) {
// `true` ๋˜๋Š” `false` ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•˜์—ฌ
Expand Down

0 comments on commit 02d6ead

Please sign in to comment.