Skip to content

Commit

Permalink
fix(core): change v-for key type to match Object.keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ferreraa committed May 16, 2024
1 parent 6a8d548 commit c65237f
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 c65237f

Please sign in to comment.