@@ -680,7 +680,7 @@ declare module Immutable {
680
680
*
681
681
* @see `Map#merge`
682
682
*/
683
- merge ( ...collections : Array < Collection . Indexed < T > | Array < T > > ) : this;
683
+ merge ( ...collections : Array < Iterable < T > > ) : this;
684
684
685
685
/**
686
686
* Note: `mergeWith` can be used in `withMutations`.
@@ -689,23 +689,23 @@ declare module Immutable {
689
689
*/
690
690
mergeWith (
691
691
merger : ( oldVal : T , newVal : T , key : number ) => T ,
692
- ...collections : Array < Collection . Indexed < T > | Array < T > >
692
+ ...collections : Array < Iterable < T > >
693
693
) : this;
694
694
695
695
/**
696
696
* Note: `mergeDeep` can be used in `withMutations`.
697
697
*
698
698
* @see `Map#mergeDeep`
699
699
*/
700
- mergeDeep ( ...collections : Array < Collection . Indexed < T > | Array < T > > ) : this;
700
+ mergeDeep ( ...collections : Array < Iterable < T > > ) : this;
701
701
702
702
/**
703
703
* Note: `mergeDeepWith` can be used in `withMutations`.
704
704
* @see `Map#mergeDeepWith`
705
705
*/
706
706
mergeDeepWith (
707
707
merger : ( oldVal : T , newVal : T , key : number ) => T ,
708
- ...collections : Array < Collection . Indexed < T > | Array < T > >
708
+ ...collections : Array < Iterable < T > >
709
709
) : this;
710
710
711
711
/**
@@ -1251,7 +1251,7 @@ declare module Immutable {
1251
1251
*
1252
1252
* Note: `merge` can be used in `withMutations`.
1253
1253
*/
1254
- merge ( ...collections : Array < Collection < K , V > | { [ key : string ] : V } > ) : this;
1254
+ merge ( ...collections : Array < Iterable < [ K , V ] > | { [ key : string ] : V } > ) : this;
1255
1255
1256
1256
/**
1257
1257
* Like `merge()`, `mergeWith()` returns a new Map resulting from merging
@@ -1273,7 +1273,7 @@ declare module Immutable {
1273
1273
*/
1274
1274
mergeWith (
1275
1275
merger : ( oldVal : V , newVal : V , key : K ) => V ,
1276
- ...collections : Array < Collection < K , V > | { [ key : string ] : V } >
1276
+ ...collections : Array < Iterable < [ K , V ] > | { [ key : string ] : V } >
1277
1277
) : this;
1278
1278
1279
1279
/**
@@ -1295,7 +1295,7 @@ declare module Immutable {
1295
1295
*
1296
1296
* Note: `mergeDeep` can be used in `withMutations`.
1297
1297
*/
1298
- mergeDeep ( ...collections : Array < Collection < K , V > | { [ key : string ] : V } > ) : this;
1298
+ mergeDeep ( ...collections : Array < Iterable < [ K , V ] > | { [ key : string ] : V } > ) : this;
1299
1299
1300
1300
/**
1301
1301
* Like `mergeDeep()`, but when two non-Collections conflict, it uses the
@@ -1318,7 +1318,7 @@ declare module Immutable {
1318
1318
*/
1319
1319
mergeDeepWith (
1320
1320
merger : ( oldVal : V , newVal : V , key : K ) => V ,
1321
- ...collections : Array < Collection < K , V > | { [ key : string ] : V } >
1321
+ ...collections : Array < Iterable < [ K , V ] > | { [ key : string ] : V } >
1322
1322
) : this;
1323
1323
1324
1324
@@ -1835,8 +1835,8 @@ declare module Immutable {
1835
1835
* Note: `union` can be used in `withMutations`.
1836
1836
* @alias merge
1837
1837
*/
1838
- union ( ...collections : Array < Collection < any , T > | Array < T > > ) : this;
1839
- merge ( ...collections : Array < Collection < any , T > | Array < T > > ) : this;
1838
+ union ( ...collections : Array < Iterable < T > > ) : this;
1839
+ merge ( ...collections : Array < Iterable < T > > ) : this;
1840
1840
1841
1841
/**
1842
1842
* Returns a Set which has removed any values not also contained
0 commit comments