Create an automerge document from a POJO
const doc = automerge.from({ tasks: [ {description: "feed dogs", done: false} ]})
The type of the value passed to from and the type the resulting document will contain
from
The initial state which will be copied into the document
Optional
Generated using TypeDoc
Create an automerge document from a POJO
Example