File tree 3 files changed +24
-0
lines changed 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,14 @@ interface Object {
292
292
}
293
293
294
294
interface ObjectConstructor {
295
+ /**
296
+ * Copy the values of all of the enumerable own properties from one or more source objects to a
297
+ * target object. Returns the target object.
298
+ * @param target The target object to copy to.
299
+ * @param sources One or more source objects from which to copy properties
300
+ */
301
+ assign < T > ( target : Partial < T > , ...sources : Partial < T > [ ] ) : T ;
302
+
295
303
/**
296
304
* Copy the values of all of the enumerable own properties from one or more source objects to a
297
305
* target object. Returns the target object.
Original file line number Diff line number Diff line change @@ -4470,6 +4470,14 @@ interface Object {
4470
4470
}
4471
4471
4472
4472
interface ObjectConstructor {
4473
+ /**
4474
+ * Copy the values of all of the enumerable own properties from one or more source objects to a
4475
+ * target object. Returns the target object.
4476
+ * @param target The target object to copy to.
4477
+ * @param sources One or more source objects from which to copy properties
4478
+ */
4479
+ assign<T>(target: Partial<T>, ...sources: Partial<T>[]): T;
4480
+
4473
4481
/**
4474
4482
* Copy the values of all of the enumerable own properties from one or more source objects to a
4475
4483
* target object. Returns the target object.
Original file line number Diff line number Diff line change @@ -272,6 +272,14 @@ interface Object {
272
272
}
273
273
274
274
interface ObjectConstructor {
275
+ /**
276
+ * Copy the values of all of the enumerable own properties from one or more source objects to a
277
+ * target object. Returns the target object.
278
+ * @param target The target object to copy to.
279
+ * @param sources One or more source objects from which to copy properties
280
+ */
281
+ assign < T > ( target : Partial < T > , ...sources : Partial < T > [ ] ) : T ;
282
+
275
283
/**
276
284
* Copy the values of all of the enumerable own properties from one or more source objects to a
277
285
* target object. Returns the target object.
You can’t perform that action at this time.
0 commit comments