Skip to content

Commit ed5fac5

Browse files
committed
chore: fix typos
1 parent 645a402 commit ed5fac5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/compiler-vapor/src/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class CodegenContext {
3434

3535
identifiers: Record<string, string[]> = Object.create(null)
3636

37-
seemInlineHandlerNames: Record<string, number> = Object.create(null)
37+
seenInlineHandlerNames: Record<string, number> = Object.create(null)
3838

3939
block: BlockIRNode
4040
withId<T>(fn: () => T, map: Record<string, string | null>): T {

packages/compiler-vapor/src/generators/component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ function getUniqueHandlerName(
9898
context: CodegenContext,
9999
name: string
100100
): string {
101-
const { seemInlineHandlerNames } = context
102-
const count = seemInlineHandlerNames[name] || 0
103-
seemInlineHandlerNames[name] = count + 1
101+
const { seenInlineHandlerNames } = context
102+
const count = seenInlineHandlerNames[name] || 0
103+
seenInlineHandlerNames[name] = count + 1
104104
return count === 0 ? name : `${name}${count}`
105105
}
106106

0 commit comments

Comments
 (0)