type output of map.toJSON
This commit is contained in:
parent
8c1d7c72b8
commit
5d0da802b8
@ -139,11 +139,11 @@ export class YMap extends AbstractType {
|
||||
/**
|
||||
* Transforms this Shared Type to a JSON object.
|
||||
*
|
||||
* @return {Object<string,any>}
|
||||
* @return {Partial<MapType>}
|
||||
*/
|
||||
toJSON () {
|
||||
/**
|
||||
* @type {Object<string,MapType>}
|
||||
* @type {any}
|
||||
*/
|
||||
const map = {}
|
||||
this._map.forEach((item, key) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user