From: 三咲智子 Kevin Deng Date: Tue, 8 Nov 2022 02:17:48 +0000 (+0800) Subject: fix(compiler-sfc): add semicolon after `defineProps` statement (#6461) X-Git-Tag: v3.2.42~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b72a4af38a402447d19b4616d09935c390d0702f;p=thirdparty%2Fvuejs%2Fcore.git fix(compiler-sfc): add semicolon after `defineProps` statement (#6461) fix #6428 --- diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap index 09c1656835..41c0d47236 100644 --- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap @@ -640,7 +640,7 @@ export default { setup(__props, { expose }) { expose(); -const props = __props +const props = __props; @@ -658,7 +658,7 @@ export default { setup(__props, { expose }) { expose(); -const props = __props +const props = __props; return { props, x } @@ -675,7 +675,7 @@ exports[`SFC compile