• Create a new automerge document

    Type Parameters

    • T

      The type of value contained in the document. This will be the type that is passed to the change closure in change

    Parameters

    • Optional _opts: string | next.InitOptions<T>

      Either an actorId or an InitOptions (which may contain an actorId). If this is null the document will be initialised with a random actor ID

    Returns Doc<T>

Generated using TypeDoc