Skip to content

Commit 11c053a

Browse files
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip]
1 parent 201936f commit 11c053a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { camelize } from '@vue/shared'
1212
import { CAMELIZE } from '../runtimeHelpers'
1313
import { processExpression } from './transformExpression'
1414

15-
// v-bind without arg is handled directly in ./transformElements.ts due to it affecting
15+
// v-bind without arg is handled directly in ./transformElement.ts due to its affecting
1616
// codegen for the entire props object. This transform here is only for v-bind
1717
// *with* args.
1818
export const transformBind: DirectiveTransform = (dir, _node, context) => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { hasScopeRef, isFnExpression, isMemberExpression } from '../utils'
1717
import { TO_HANDLER_KEY } from '../runtimeHelpers'
1818

1919
export interface VOnDirectiveNode extends DirectiveNode {
20-
// v-on without arg is handled directly in ./transformElements.ts due to it affecting
20+
// v-on without arg is handled directly in ./transformElement.ts due to its affecting
2121
// codegen for the entire props object. This transform here is only for v-on
2222
// *with* args.
2323
arg: ExpressionNode

0 commit comments

Comments
 (0)