objo
    Preparing search index...

    Function mergeTaskParts

    • Merges multiple partial Task objects into a complete Task using a custom merge strategy. The function begins with default Task values and sequentially merges each provided partial Task. For each property, the front-most non-default value is retained. Special handling is applied for properties such as task type, priority, strings, DateTime objects, and Set collections.

      Parameters

      • ...parts: DeepPartial<Task>[]

        The partial Task objects to merge.

      Returns Task

      new Task with the front-most non-default values taken from the parts.