chore: fix some typos (#5050) [ci skip]

This commit is contained in:
Forzen FIsh
2021-12-12 09:58:46 +08:00
committed by GitHub
parent 7e4f0a8694
commit 57a09331b2
4 changed files with 4 additions and 4 deletions

View File

@@ -330,7 +330,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