Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/lib.es2015.core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,15 @@ interface Object {
}

interface ObjectConstructor {
assign<T>(target: T, source: T, ...sources: T[]): T;

/**
* Copy the values of all of the enumerable own properties from one or more source objects to a
* target object. Returns the target object.
* @param target The target object to copy to.
* @param source The source object from which to copy properties.
*/
assign<T, U>(target: T, source: U): T & U;
assign<T, U>(target: T, source: U, ...sources: U[]): T & U;

/**
* Copy the values of all of the enumerable own properties from one or more source objects to a
Expand Down