• Creates a copy of the target object with the nested property set to the given value.

    Returns

    A copy of the target object with the nested property set to the given value.

    Type Parameters

    • T extends object

      A type of the target object.

    • Path extends [keyof T] | [keyof T, ...DeepKeys<any[any]>[]]

      A path to the nested property.

    Parameters

    • target: T

      A target object.

    • path: Path

      A path to the nested propery.

    • value: DeepType<T, Path>

      A new value of the nested property.

    Returns T

Generated using TypeDoc