diff --git a/packages/compiler-core/src/transforms/hoistStatic.ts b/packages/compiler-core/src/transforms/hoistStatic.ts index 920ba8d4a4b..e83ae11094a 100644 --- a/packages/compiler-core/src/transforms/hoistStatic.ts +++ b/packages/compiler-core/src/transforms/hoistStatic.ts @@ -341,7 +341,7 @@ function getGeneratedPropsConstantType( } else if (value.type === NodeTypes.JS_CALL_EXPRESSION) { // some helper calls can be hoisted, // such as the `normalizeProps` generated by the compiler for pre-normalize class, - // in this case we need to respect the ConstantType of the helper's argments + // in this case we need to respect the ConstantType of the helper's arguments valueType = getConstantTypeOfHelperCall(value, context) } else { valueType = ConstantTypes.NOT_CONSTANT