dist/test.js
/**
     * Converts the entire document into a js object, recursively traversing each yjs type
     * Doesn't log types that have not been defined (using ydoc.getType(..)).
     *
     * @deprecated Do not use this method and rather call toJSON directly on the shared types.
     *
     * @return {Object<string, any>}
     */
Converts the entire document into a js object, recursively traversing each yjs type
Doesn't log types that have not been defined (using ydoc.getType(..)).

@deprecated Do not use this method and rather call toJSON directly on the shared types.

@return {Object}
Converts the entire document into a js object recursively traversing each yjs type Doesn ' t log types that have not been defined ( using ydoc . getType ( .. )) . @deprecated Do not use this method and rather call toJSON directly on the shared types . @return { Object }
toJSON () {
      const doc = {};
      this.share.forEach((value, key) => {
        doc[key] = value.toJSON();
      });
      return doc
    }
toJSON ( ) { const doc = { } ; this . share . forEach ( ( value , key ) => { doc [ key ] = value . toJSON ( ) ; } ) ; return doc }
Converts the entire document into a js object, recursively traversing each yjs type
 Doesn't log types that have not been defined (using ydoc.getType(..)).
Converts the entire document into a js object recursively traversing each yjs type Doesn ' t log types that have not been defined ( using ydoc . getType ( .. )) .
/**
       * @type {Object<string, any>}
       */