dist/test.js
/**
     * Transforms this Shared Type to a JSON object.
     *
     * @return {Object<string,T>}
     */
Transforms this Shared Type to a JSON object.
@return {Object}
Transforms this Shared Type to a JSON object . @return { Object }
toJSON () {
      const map = {};
      this._map.forEach((item, key) => {
        if (!item.deleted) {
          const v = item.content.getContent()[item.length - 1];
          map[key] = v instanceof AbstractType ? v.toJSON() : v;
        }
      });
      return map
    }
toJSON ( ) { const map = { } ; this . _map . forEach ( ( item , key ) => { if ( ! item . deleted ) { const v = item . content . getContent ( ) [ item . length - 1 ] ; map [ key ] = v instanceof AbstractType ? v . toJSON ( ) : v ; } } ) ; return map }
Transforms this Shared Type to a JSON object.
Transforms this Shared Type to a JSON object .
/**
       * @type {Object<string,T>}
       */