Merge pull request #235 from DeepAnchor/patch-1

Fix JSDoc annotation
This commit is contained in:
Kevin Jahns 2020-09-28 17:55:25 +02:00 committed by GitHub
commit a253cfc090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])