@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Variable object_assignConst

    object_assign: {
        <T extends {}, U>(target: T, source: U): T & U;
        <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
        <T extends {}, U, V, W>(
            target: T,
            source1: U,
            source2: V,
            source3: W,
        ): T & U & V & W;
        (target: object, ...sources: any[]): any;
    } = ...

    alias for Object.assign.

    Type declaration

      • <T extends {}, U>(target: T, source: U): T & U
      • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

        Type Parameters

        • T extends {}
        • U

        Parameters

        • target: T

          The target object to copy to.

        • source: U

          The source object from which to copy properties.

        Returns T & U

      • <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V
      • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

        Type Parameters

        • T extends {}
        • U
        • V

        Parameters

        • target: T

          The target object to copy to.

        • source1: U

          The first source object from which to copy properties.

        • source2: V

          The second source object from which to copy properties.

        Returns T & U & V

      • <T extends {}, U, V, W>(
            target: T,
            source1: U,
            source2: V,
            source3: W,
        ): T & U & V & W
      • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

        Type Parameters

        • T extends {}
        • U
        • V
        • W

        Parameters

        • target: T

          The target object to copy to.

        • source1: U

          The first source object from which to copy properties.

        • source2: V

          The second source object from which to copy properties.

        • source3: W

          The third source object from which to copy properties.

        Returns T & U & V & W

      • (target: object, ...sources: any[]): any
      • Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

        Parameters

        • target: object

          The target object to copy to.

        • ...sources: any[]

          One or more source objects from which to copy properties

        Returns any