diff --git a/README.md b/README.md index 5f6cfb0a..502d2869 100644 --- a/README.md +++ b/README.md @@ -412,7 +412,10 @@ necessary.

const yarray = new Y.Array()
- Y.Array.from(Array<object|boolean|Array|string|number|null|Uint8Array|Y.Type>): Y.Array + +Y.Array.from(Array<object|boolean|Array|string|number|null|Uint8Array|Y.Type>): +Y.Array +
An alternative factory function to create a Y.Array based on existing content.
parent:Y.AbstractType|null
@@ -444,7 +447,10 @@ forEach(function(value:object|boolean|Array|string|number|null|Uint8Array|Y.Type map(function(T, number, YArray):M):Array<M>
clone(): Y.Array -
Clone all values into a fresh Y.Array instance. The returned type can be included into the Yjs document.
+
+Clone all values into a fresh Y.Array instance. The returned type can be +included into the Yjs document. +
toArray():Array<object|boolean|Array|string|number|null|Uint8Array|Y.Type>
Copies the content of this YArray to a new Array.
toJSON():Array<Object|boolean|Array|string|number|null>