mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
fix typing information YMap.iterator - fixes #420
This commit is contained in:
@@ -180,7 +180,9 @@ export class YMap extends AbstractType {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {IterableIterator<MapType>}
|
||||
* Returns an Iterator of [key, value] pairs
|
||||
*
|
||||
* @return {IterableIterator<any>}
|
||||
*/
|
||||
[Symbol.iterator] () {
|
||||
return this.entries()
|
||||
|
||||
Reference in New Issue
Block a user