Skip to content

Commit ec2468f

Browse files
committed
fix(compiler-sfc): updated code
1 parent 1b49b5a commit ec2468f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,7 @@ const emit = defineEmits(['a', 'b'])
12771277
expect(content).toMatch(`emits: ["foo", "bar"]`)
12781278
})
12791279

1280+
12801281
test('defineEmits w/ type from normal script', () => {
12811282
const { content } = compile(`
12821283
<script lang="ts">

0 commit comments

Comments
 (0)