fix typing information YMap.iterator - fixes #420

This commit is contained in:
Kevin Jahns 2022-04-20 13:09:56 +02:00
parent 3935ba1faa
commit 71fad52854

View File

@ -180,7 +180,9 @@ export class YMap extends AbstractType {
} }
/** /**
* @return {IterableIterator<MapType>} * Returns an Iterator of [key, value] pairs
*
* @return {IterableIterator<any>}
*/ */
[Symbol.iterator] () { [Symbol.iterator] () {
return this.entries() return this.entries()