Skip to content

Commit 2746f01

Browse files
committed
fix(compiler-sfc): add semicolon after defineProps statement
1 parent 9dd006b commit 2746f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/compileScript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ export function compileScript(
11221122
startOffset,
11231123
`\nconst ${propsIdentifier} = __props${
11241124
propsTypeDecl ? ` as ${genSetupPropsType(propsTypeDecl)}` : ``
1125-
}\n`
1125+
};\n`
11261126
)
11271127
}
11281128
if (propsDestructureRestId) {

0 commit comments

Comments
 (0)