• Make a change to a document which does not modify the document

    Type Parameters

    • T

    Parameters

    • doc: Doc<T>

      The doc to add the empty change to

    • options: string | void | next.ChangeOptions<T>

      Either a message or a ChangeOptions for the new change

      Why would you want to do this? One reason might be that you have merged changes from some other peers and you want to generate a change which depends on those merged changes so that you can sign the new change with all of the merged changes as part of the new change.

    Returns Doc<T>

Generated using TypeDoc