Skip to content

Commit 938f32d

Browse files
committed
fix: sfc test
1 parent 76b38c6 commit 938f32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compiler-sfc/__tests__/compileScript.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ const emit = defineEmits(['a', 'b'])
15441544
const { content } = compile(`
15451545
<script setup lang="ts">
15461546
const slots = defineSlots<{
1547-
default: [msg: string]
1547+
default: { msg: string }
15481548
}>()
15491549
</script>
15501550
`)
@@ -1556,7 +1556,7 @@ const emit = defineEmits(['a', 'b'])
15561556
const { content } = compile(`
15571557
<script setup lang="ts">
15581558
defineSlots<{
1559-
default: [msg: string]
1559+
default: { msg: string }
15601560
}>()
15611561
</script>
15621562
`)

0 commit comments

Comments
 (0)