From 5d0da802b8413e2f5e6cbbd148b85c24f8ed6fd7 Mon Sep 17 00:00:00 2001 From: Mel Bourgeois Date: Sat, 24 Feb 2024 21:37:09 -0600 Subject: [PATCH] type output of map.toJSON --- src/types/YMap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/YMap.js b/src/types/YMap.js index 60790bd2..f457b8aa 100644 --- a/src/types/YMap.js +++ b/src/types/YMap.js @@ -139,11 +139,11 @@ export class YMap extends AbstractType { /** * Transforms this Shared Type to a JSON object. * - * @return {Object} + * @return {Partial} */ toJSON () { /** - * @type {Object} + * @type {any} */ const map = {} this._map.forEach((item, key) => {