1 | export declare class ObjectUtils {
|
2 | /**
|
3 | * Copy the values of all of the enumerable own properties from one or more source objects to a
|
4 | * target object. Returns the target object.
|
5 | * @param target The target object to copy to.
|
6 | * @param source The source object from which to copy properties.
|
7 | */
|
8 | static assign<T, U>(target: T, source: U): T & U;
|
9 | /**
|
10 | * Copy the values of all of the enumerable own properties from one or more source objects to a
|
11 | * target object. Returns the target object.
|
12 | * @param target The target object to copy to.
|
13 | * @param source1 The first source object from which to copy properties.
|
14 | * @param source2 The second source object from which to copy properties.
|
15 | */
|
16 | static assign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
|
17 | /**
|
18 | * Copy the values of all of the enumerable own properties from one or more source objects to a
|
19 | * target object. Returns the target object.
|
20 | * @param target The target object to copy to.
|
21 | * @param source1 The first source object from which to copy properties.
|
22 | * @param source2 The second source object from which to copy properties.
|
23 | * @param source3 The third source object from which to copy properties.
|
24 | */
|
25 | static assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
26 | }
|