Skip to content

Commit

Permalink
fix: component syntax broken when enabled experimentalRfc436
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Oct 11, 2022
1 parent 79c31aa commit 7fa4c5f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -245,7 +245,7 @@ export function generate(
codeGen.push('export default (');
}
if (vueCompilerOptions.experimentalRfc436 && sfc.scriptSetup.generic) {
codeGen.push(`(<`);
codeGen.push(`<`);
codeGen.push([
sfc.scriptSetup.generic,
sfc.scriptSetup.name,
Expand Down

0 comments on commit 7fa4c5f

Please sign in to comment.