Skip to content

Commit

Permalink
Merge pull request #235 from DeepAnchor/patch-1
Browse files Browse the repository at this point in the history
Fix JSDoc annotation
  • Loading branch information
dmonad committed Sep 28, 2020
2 parents dadc085 + 7193ae6 commit a253cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/YMap.js
Expand Up @@ -132,9 +132,9 @@ export class YMap extends AbstractType {
}

/**
* Returns the keys for each element in the YMap Type.
* Returns the values for each element in the YMap Type.
*
* @return {IterableIterator<string>}
* @return {IterableIterator<any>}
*/
values () {
return iterator.iteratorMap(createMapIterator(this._map), /** @param {any} v */ v => v[1].content.getContent()[v[1].length - 1])
Expand Down

0 comments on commit a253cfc

Please sign in to comment.