• Get the changes which are in newState but not in oldState. The returned changes can be loaded in oldState via applyChanges.

    Note that this will crash if there are changes in oldState which are not in newState.

    Type Parameters

    • T


    • oldState: Doc<T>
    • newState: Doc<T>

    Returns Change[]

Generated using TypeDoc