Skip to content

Commit

Permalink
fix: sfc test
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 30, 2023
1 parent 76b38c6 commit 938f32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compiler-sfc/__tests__/compileScript.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ const emit = defineEmits(['a', 'b'])
const { content } = compile(`
<script setup lang="ts">
const slots = defineSlots<{
default: [msg: string]
default: { msg: string }
}>()
</script>
`)
Expand All @@ -1556,7 +1556,7 @@ const emit = defineEmits(['a', 'b'])
const { content } = compile(`
<script setup lang="ts">
defineSlots<{
default: [msg: string]
default: { msg: string }
}>()
</script>
`)
Expand Down

0 comments on commit 938f32d

Please sign in to comment.