]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip]
authorLiquidAssContainer <47602463+LiquidAssContainer@users.noreply.github.com>
Mon, 16 Dec 2024 02:43:01 +0000 (04:43 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2024 02:43:01 +0000 (10:43 +0800)
packages/compiler-core/src/transforms/vBind.ts
packages/compiler-core/src/transforms/vOn.ts

index 233ed1e7e862fa0598a1eade5a5b305e3b31c136..1e5e371418bc5ecfcc871270c6a173d359ec38d6 100644 (file)
@@ -12,7 +12,7 @@ import { camelize } from '@vue/shared'
 import { CAMELIZE } from '../runtimeHelpers'
 import { processExpression } from './transformExpression'
 
-// v-bind without arg is handled directly in ./transformElements.ts due to it affecting
+// v-bind without arg is handled directly in ./transformElement.ts due to its affecting
 // codegen for the entire props object. This transform here is only for v-bind
 // *with* args.
 export const transformBind: DirectiveTransform = (dir, _node, context) => {
index ed809a2d79fbc7082eba5ed3eb8af5cc73847ff7..047c5e7d1b710453cf59904fca894b7b3065a5ad 100644 (file)
@@ -17,7 +17,7 @@ import { hasScopeRef, isFnExpression, isMemberExpression } from '../utils'
 import { TO_HANDLER_KEY } from '../runtimeHelpers'
 
 export interface VOnDirectiveNode extends DirectiveNode {
-  // v-on without arg is handled directly in ./transformElements.ts due to it affecting
+  // v-on without arg is handled directly in ./transformElement.ts due to its affecting
   // codegen for the entire props object. This transform here is only for v-on
   // *with* args.
   arg: ExpressionNode