From e076f0b681a944b693e5140d47fde2b808a91b1c Mon Sep 17 00:00:00 2001 From: sudongyu <976499226@qq.com> Date: Mon, 6 Dec 2021 07:08:17 +0800 Subject: [PATCH] chore: typo in comment --- packages/compiler-core/src/transforms/hoistStatic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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