Skip to content

Commit

Permalink
fix(compiler-core): change v-for key type to match Object.keys (vuejs…
Browse files Browse the repository at this point in the history
  • Loading branch information
ferreraa authored and lynxlangya committed May 30, 2024
1 parent 7dc389b commit 269ebe0
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 269ebe0

Please sign in to comment.