make size() public

perhaps it was a typo? this should allow it to be public
This commit is contained in:
ffd8 2022-01-09 15:02:48 +01:00
parent 645f05b0bb
commit 71597998a1

View File

@ -129,7 +129,7 @@ export class YMap extends AbstractType {
*
* @return {number}
*/
get size () {
size () {
return [...createMapIterator(this._map)].length
}