We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdc50dd commit 204c25fCopy full SHA for 204c25f
packages/@lwc/ssr-compiler/src/compile-template/context.ts
@@ -33,7 +33,7 @@ export function createNewContext(templateOptions: TemplateOpts): {
33
}
34
return false;
35
};
36
- const getLocalVars = () => localVarStack.flatMap((stackFrameVars) => [...stackFrameVars]);
+ const getLocalVars = () => localVarStack.flatMap((varsSet) => Array.from(varsSet));
37
38
const hoistedStatements = {
39
module: [] as EsStatement[],
0 commit comments