deprecate toJSON
This commit is contained in:
parent
bbc688975d
commit
034463798d
@ -217,6 +217,9 @@ export class Doc extends Observable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts the entire document into a js object, recursively traversing each yjs type
|
* 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>}
|
* @return {Object<string, any>}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user