SheetXL - v0.3.20
    Preparing search index...

    Variable resolveTypedUpdatesConst

    resolveTypedUpdates: <P = any, C = any>(
        update: Readonly<TypedObject.ResolvableProperties<P>>,
        type: TypedObject<P, any, C>,
        context: C,
        updateFrom?: P,
    ) => P

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

    Type declaration

      • <P = any, C = any>(
            update: Readonly<TypedObject.ResolvableProperties<P>>,
            type: TypedObject<P, any, C>,
            context: C,
            updateFrom?: P,
        ): P
      • Type Parameters

        • P = any
        • C = any

        Parameters

        • update: Readonly<TypedObject.ResolvableProperties<P>>
        • type: TypedObject<P, any, C>
        • context: C
        • OptionalupdateFrom: P

        Returns P

    • 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.