Function resolveTypedUpdates

  • Merged updates into updatesFrom. It used the template for values and the typedObject for navigating.

    Type Parameters

    • T
    • C

    Parameters

    • update: any
    • updateFrom: any
    • Optional template: any
    • Optional type: TypedObject<T, C>
    • Optional context: C

    Returns any

    Remarks

    Values not defined in the typed object will be shallow copied. This should only be used on simple objects that can be merged. (For example merging classes will strip away the class information) Note. We don't try to merge arrays.