Skip to content

Commit bb67336

Browse files
committed
refactor: Code to string for .join(' & ')
1 parent a16537e commit bb67336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/language-core/lib/codegen/script/scriptSetup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function* generateScriptSetup(
5555
+ ` __VLS_setup = (async () => {${newLine}`;
5656
yield* generateSetupFunction(options, ctx, scriptSetup, scriptSetupRanges, undefined);
5757

58-
const propTypes: Code[] = [];
58+
const propTypes: string[] = [];
5959
if (ctx.generatedPropsType) {
6060
propTypes.push(`__VLS_PublicProps`);
6161
}
@@ -64,7 +64,7 @@ export function* generateScriptSetup(
6464
}
6565
propTypes.push(`Partial<__VLS_InheritedAttrs>`);
6666

67-
const emitTypes: Code[] = [];
67+
const emitTypes: string[] = [];
6868
if (scriptSetupRanges.defineEmits) {
6969
emitTypes.push(`typeof ${scriptSetupRanges.defineEmits.name ?? '__VLS_emit'}`);
7070
}

0 commit comments

Comments
 (0)