Skip to content

Commit b7ebf78

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/lib.es2015.core.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ interface Object {
292292
}
293293

294294
interface ObjectConstructor {
295+
assign<T>(target: T, source: T, ...sources: T[]): T;
296+
295297
/**
296298
* Copy the values of all of the enumerable own properties from one or more source objects to a
297299
* target object. Returns the target object.

0 commit comments

Comments
 (0)