@@ -283,7 +283,7 @@ interface ObjectConstructor {
283
283
* @param target The target object to copy to.
284
284
* @param source The source object from which to copy properties.
285
285
*/
286
- assign < T , U > ( target : T , source : U ) : T & U ;
286
+ assign < T extends { } , U > ( target : T , source : U ) : T & U ;
287
287
288
288
/**
289
289
* Copy the values of all of the enumerable own properties from one or more source objects to a
@@ -292,7 +292,7 @@ interface ObjectConstructor {
292
292
* @param source1 The first source object from which to copy properties.
293
293
* @param source2 The second source object from which to copy properties.
294
294
*/
295
- assign < T , U , V > ( target : T , source1 : U , source2 : V ) : T & U & V ;
295
+ assign < T extends { } , U , V > ( target : T , source1 : U , source2 : V ) : T & U & V ;
296
296
297
297
/**
298
298
* Copy the values of all of the enumerable own properties from one or more source objects to a
@@ -302,7 +302,7 @@ interface ObjectConstructor {
302
302
* @param source2 The second source object from which to copy properties.
303
303
* @param source3 The third source object from which to copy properties.
304
304
*/
305
- assign < T , U , V , W > ( target : T , source1 : U , source2 : V , source3 : W ) : T & U & V & W ;
305
+ assign < T extends { } , U , V , W > ( target : T , source1 : U , source2 : V , source3 : W ) : T & U & V & W ;
306
306
307
307
/**
308
308
* Copy the values of all of the enumerable own properties from one or more source objects to a
0 commit comments