Преглед изворни кода

chore: fix typo in vBind.ts (#91)

taiyop пре 6 година
родитељ
комит
a84a2b252d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/compiler-core/src/transforms/vBind.ts

+ 1 - 1
packages/compiler-core/src/transforms/vBind.ts

@@ -14,7 +14,7 @@ export const transformBind: DirectiveTransform = (dir, context) => {
     context.onError(createCompilerError(ErrorCodes.X_V_BIND_NO_EXPRESSION, loc))
   }
   // .prop is no longer necessary due to new patch behavior
-  // .sync is replced by v-model:arg
+  // .sync is replaced by v-model:arg
   if (modifiers.includes('camel')) {
     if (arg.type === NodeTypes.SIMPLE_EXPRESSION) {
       if (arg.isStatic) {