Fix JSDoc annotation

This commit is contained in:
DeepAnchor 2020-08-25 13:09:34 -07:00 committed by GitHub
parent b4fc073aa5
commit 7193ae63b7
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 () { values () {
return iterator.iteratorMap(createMapIterator(this._map), /** @param {any} v */ v => v[1].content.getContent()[v[1].length - 1]) return iterator.iteratorMap(createMapIterator(this._map), /** @param {any} v */ v => v[1].content.getContent()[v[1].length - 1])