Skip to content

Commit

Permalink
fix(compiler-sfc): add semicolon after defineProps statement
Browse files Browse the repository at this point in the history
  • Loading branch information
liulinboyi committed Nov 18, 2022
1 parent 9dd006b commit 2746f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/compileScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ export function compileScript(
startOffset,
`\nconst ${propsIdentifier} = __props${
propsTypeDecl ? ` as ${genSetupPropsType(propsTypeDecl)}` : ``
}\n`
};\n`
)
}
if (propsDestructureRestId) {
Expand Down

0 comments on commit 2746f01

Please sign in to comment.