Skip to content

Commit

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

0 comments on commit 8d4e6bf

Please sign in to comment.