Skip to content

Commit

Permalink
change MapIterator to IterableIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
overthemike committed Oct 13, 2024
1 parent c1a5611 commit 1c4cc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanilla/utils/proxyMap-indexMap-keyvals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function proxyMap<K, V>(entries?: Iterable<[K, V]> | undefined | null) {
cb(this.data[index + 1] as V, this.data[index] as K, this)
})
},
*entries(): MapIterator<[K, V]> {
*entries(): IterableIterator<[K, V]> {
for (const index of indexMap.values()) {
yield [this.data[index], this.data[index + 1]] as [K, V]
}
Expand Down

0 comments on commit 1c4cc2b

Please sign in to comment.