Revert change to Object.assign
This commit is contained in:
parent
d2d02c796b
commit
bb5fa1622b
1 changed files with 3 additions and 3 deletions
6
src/lib/es6.d.ts
vendored
6
src/lib/es6.d.ts
vendored
|
@ -127,7 +127,7 @@ interface ObjectConstructor {
|
||||||
* @param target The target object to copy to.
|
* @param target The target object to copy to.
|
||||||
* @param source The source object from which to copy properties.
|
* @param source The source object from which to copy properties.
|
||||||
*/
|
*/
|
||||||
assign<T, U>(target: T, source: U | null | undefined): T & U;
|
assign<T, 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
|
* Copy the values of all of the enumerable own properties from one or more source objects to a
|
||||||
|
@ -136,7 +136,7 @@ interface ObjectConstructor {
|
||||||
* @param source1 The first source object from which to copy properties.
|
* @param source1 The first source object from which to copy properties.
|
||||||
* @param source2 The second source object from which to copy properties.
|
* @param source2 The second source object from which to copy properties.
|
||||||
*/
|
*/
|
||||||
assign<T, U, V>(target: T, source1: U | null | undefined, source2: V | null | undefined): T & U & V;
|
assign<T, 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
|
* Copy the values of all of the enumerable own properties from one or more source objects to a
|
||||||
|
@ -146,7 +146,7 @@ interface ObjectConstructor {
|
||||||
* @param source2 The second source object from which to copy properties.
|
* @param source2 The second source object from which to copy properties.
|
||||||
* @param source3 The third source object from which to copy properties.
|
* @param source3 The third source object from which to copy properties.
|
||||||
*/
|
*/
|
||||||
assign<T, U, V, W>(target: T, source1: U | null | undefined, source2: V | null | undefined, source3: W | null | undefined): T & U & V & W;
|
assign<T, 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
|
* Copy the values of all of the enumerable own properties from one or more source objects to a
|
||||||
|
|
Loading…
Reference in a new issue