Skip to content

Commit

Permalink
fix(compiler-core): change v-for key type to match Object.keys (#10963)
Browse files Browse the repository at this point in the history
close #8819
  • Loading branch information
ferreraa committed May 20, 2024
1 parent 9b40d0f commit 9fead52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/helpers/renderList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function renderList<T>(
source: T,
renderItem: <K extends keyof T>(
value: T[K],
key: K,
key: string,
index: number,
) => VNodeChild,
): VNodeChild[]
Expand Down

0 comments on commit 9fead52

Please sign in to comment.