Skip to content

Commit 56be30b

Browse files
chore(compiler-core): fix typo in hoistStatic (#4625) [ci skip]
1 parent b264551 commit 56be30b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compiler-core/src/transforms/hoistStatic.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function walk(
5959
// This is only a concern for pre-stringification (via transformHoist by
6060
// @vue/compiler-dom), but doing it here allows us to perform only one full
6161
// walk of the AST and allow `stringifyStatic` to stop walking as soon as its
62-
// stringficiation threshold is met.
62+
// stringification threshold is met.
6363
let canStringify = true
6464

6565
const { children } = node
@@ -341,7 +341,7 @@ function getGeneratedPropsConstantType(
341341
} else if (value.type === NodeTypes.JS_CALL_EXPRESSION) {
342342
// some helper calls can be hoisted,
343343
// such as the `normalizeProps` generated by the compiler for pre-normalize class,
344-
// in this case we need to respect the ConstanType of the helper's argments
344+
// in this case we need to respect the ConstantType of the helper's argments
345345
valueType = getConstantTypeOfHelperCall(value, context)
346346
} else {
347347
valueType = ConstantTypes.NOT_CONSTANT

0 commit comments

Comments
 (0)