Skip to content

Commit 8ed6d92

Browse files
author
falsandtru
committed
Enhance Object.assign static method signature
1 parent 2282477 commit 8ed6d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib.es2015.core.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ interface ObjectConstructor {
298298
* @param target The target object to copy to.
299299
* @param source The source object from which to copy properties.
300300
*/
301-
assign<T, U>(target: T, source: U): T & U;
301+
assign<T, U>(target: T, source: U, ...sources: U[]): T & U;
302302

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

0 commit comments

Comments
 (0)