immutable 5.0.3 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ type $KeyOf<C> = $Call<
33
33
  (<T>(?$ReadOnlyArray<T>) => number) &
34
34
  (<T>(?RecordInstance<T> | T) => $Keys<T>) &
35
35
  (<T: Object>(T) => $Keys<T>),
36
- C
36
+ C,
37
37
  >;
38
38
 
39
39
  type $ValOf<C, K = $KeyOf<C>> = $Call<
@@ -42,7 +42,7 @@ type $ValOf<C, K = $KeyOf<C>> = $Call<
42
42
  (<T, K: $Keys<T>>(?RecordInstance<T> | T, K) => $ElementType<T, K>) &
43
43
  (<T: Object>(T) => $Values<T>),
44
44
  C,
45
- K
45
+ K,
46
46
  >;
47
47
 
48
48
  type $IterableOf<C> = $Call<
@@ -53,11 +53,11 @@ type $IterableOf<C> = $Call<
53
53
  V:
54
54
  | KeyedCollection<any, any>
55
55
  | RecordInstance<any>
56
- | PlainObjInput<any, any>
56
+ | PlainObjInput<any, any>,
57
57
  >(
58
58
  V
59
59
  ) => Iterable<[$KeyOf<V>, $ValOf<V>]>),
60
- C
60
+ C,
61
61
  >;
62
62
 
63
63
  const PairSorting: $ReadOnly<{ LeftThenRight: number, RightThenLeft: number }> =
@@ -97,7 +97,7 @@ declare class _Collection<K, +V> implements ValueObject {
97
97
  NSV,
98
98
  K2: $KeyOf<V>,
99
99
  K3: $KeyOf<$ValOf<V, K2>>,
100
- K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
100
+ K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
101
101
  >(
102
102
  keyPath: [K, K2, K3, K4],
103
103
  notSetValue: NSV
@@ -107,7 +107,7 @@ declare class _Collection<K, +V> implements ValueObject {
107
107
  K2: $KeyOf<V>,
108
108
  K3: $KeyOf<$ValOf<V, K2>>,
109
109
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
110
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
110
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
111
111
  >(
112
112
  keyPath: [K, K2, K3, K4, K5],
113
113
  notSetValue: NSV
@@ -441,7 +441,7 @@ declare class IndexedCollection<+T> extends Collection<number, T> {
441
441
  e: Iterable<E>,
442
442
  ..._: []
443
443
  ): IndexedCollection<
444
- [T | void, A | void, B | void, C | void, D | void, E | void]
444
+ [T | void, A | void, B | void, C | void, D | void, E | void],
445
445
  >;
446
446
 
447
447
  zipWith<A, R>(
@@ -795,7 +795,7 @@ declare class UpdatableInCollection<K, +V> {
795
795
  K2: $KeyOf<V>,
796
796
  K3: $KeyOf<$ValOf<V, K2>>,
797
797
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
798
- S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
798
+ S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>,
799
799
  >(
800
800
  keyPath: [K, K2, K3, K4],
801
801
  value: S
@@ -805,7 +805,7 @@ declare class UpdatableInCollection<K, +V> {
805
805
  K3: $KeyOf<$ValOf<V, K2>>,
806
806
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
807
807
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
808
- S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
808
+ S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>,
809
809
  >(
810
810
  keyPath: [K, K2, K3, K4, K5],
811
811
  value: S
@@ -820,7 +820,7 @@ declare class UpdatableInCollection<K, +V> {
820
820
  deleteIn<
821
821
  K2: $KeyOf<V>,
822
822
  K3: $KeyOf<$ValOf<V, K2>>,
823
- K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
823
+ K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
824
824
  >(
825
825
  keyPath: [K, K2, K3, K4]
826
826
  ): this;
@@ -828,7 +828,7 @@ declare class UpdatableInCollection<K, +V> {
828
828
  K2: $KeyOf<V>,
829
829
  K3: $KeyOf<$ValOf<V, K2>>,
830
830
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
831
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
831
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
832
832
  >(
833
833
  keyPath: [K, K2, K3, K4, K5]
834
834
  ): this;
@@ -842,7 +842,7 @@ declare class UpdatableInCollection<K, +V> {
842
842
  removeIn<
843
843
  K2: $KeyOf<V>,
844
844
  K3: $KeyOf<$ValOf<V, K2>>,
845
- K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
845
+ K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
846
846
  >(
847
847
  keyPath: [K, K2, K3, K4]
848
848
  ): this;
@@ -850,7 +850,7 @@ declare class UpdatableInCollection<K, +V> {
850
850
  K2: $KeyOf<V>,
851
851
  K3: $KeyOf<$ValOf<V, K2>>,
852
852
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
853
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
853
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
854
854
  >(
855
855
  keyPath: [K, K2, K3, K4, K5]
856
856
  ): this;
@@ -872,7 +872,7 @@ declare class UpdatableInCollection<K, +V> {
872
872
  NSV,
873
873
  K2: $KeyOf<V>,
874
874
  K3: $KeyOf<$ValOf<V, K2>>,
875
- S: $ValOf<$ValOf<V, K2>, K3>
875
+ S: $ValOf<$ValOf<V, K2>, K3>,
876
876
  >(
877
877
  keyPath: [K, K2, K3],
878
878
  notSetValue: NSV,
@@ -881,7 +881,7 @@ declare class UpdatableInCollection<K, +V> {
881
881
  updateIn<
882
882
  K2: $KeyOf<V>,
883
883
  K3: $KeyOf<$ValOf<V, K2>>,
884
- S: $ValOf<$ValOf<V, K2>, K3>
884
+ S: $ValOf<$ValOf<V, K2>, K3>,
885
885
  >(
886
886
  keyPath: [K, K2, K3],
887
887
  updater: (value: $ValOf<$ValOf<V, K2>, K3>) => S
@@ -891,7 +891,7 @@ declare class UpdatableInCollection<K, +V> {
891
891
  K2: $KeyOf<V>,
892
892
  K3: $KeyOf<$ValOf<V, K2>>,
893
893
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
894
- S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
894
+ S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>,
895
895
  >(
896
896
  keyPath: [K, K2, K3, K4],
897
897
  notSetValue: NSV,
@@ -901,7 +901,7 @@ declare class UpdatableInCollection<K, +V> {
901
901
  K2: $KeyOf<V>,
902
902
  K3: $KeyOf<$ValOf<V, K2>>,
903
903
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
904
- S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
904
+ S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>,
905
905
  >(
906
906
  keyPath: [K, K2, K3, K4],
907
907
  updater: (value: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>) => S
@@ -912,7 +912,7 @@ declare class UpdatableInCollection<K, +V> {
912
912
  K3: $KeyOf<$ValOf<V, K2>>,
913
913
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
914
914
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
915
- S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
915
+ S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>,
916
916
  >(
917
917
  keyPath: [K, K2, K3, K4, K5],
918
918
  notSetValue: NSV,
@@ -925,7 +925,7 @@ declare class UpdatableInCollection<K, +V> {
925
925
  K3: $KeyOf<$ValOf<V, K2>>,
926
926
  K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
927
927
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
928
- S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
928
+ S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>,
929
929
  >(
930
930
  keyPath: [K, K2, K3, K4, K5],
931
931
  updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>) => S
@@ -1690,7 +1690,7 @@ declare class RecordInstance<T: Object = Object> {
1690
1690
  NSV,
1691
1691
  K: $Keys<T>,
1692
1692
  K2: $KeyOf<$ValOf<T, K>>,
1693
- K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
1693
+ K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1694
1694
  >(
1695
1695
  keyPath: [K, K2, K3],
1696
1696
  notSetValue: NSV
@@ -1700,7 +1700,7 @@ declare class RecordInstance<T: Object = Object> {
1700
1700
  K: $Keys<T>,
1701
1701
  K2: $KeyOf<$ValOf<T, K>>,
1702
1702
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1703
- K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
1703
+ K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1704
1704
  >(
1705
1705
  keyPath: [K, K2, K3, K4],
1706
1706
  notSetValue: NSV
@@ -1711,7 +1711,7 @@ declare class RecordInstance<T: Object = Object> {
1711
1711
  K2: $KeyOf<$ValOf<T, K>>,
1712
1712
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1713
1713
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1714
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
1714
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1715
1715
  >(
1716
1716
  keyPath: [K, K2, K3, K4, K5],
1717
1717
  notSetValue: NSV
@@ -1758,7 +1758,7 @@ declare class RecordInstance<T: Object = Object> {
1758
1758
  K: $Keys<T>,
1759
1759
  K2: $KeyOf<$ValOf<T, K>>,
1760
1760
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1761
- S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
1761
+ S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>,
1762
1762
  >(
1763
1763
  keyPath: [K, K2, K3],
1764
1764
  value: S
@@ -1768,7 +1768,7 @@ declare class RecordInstance<T: Object = Object> {
1768
1768
  K2: $KeyOf<$ValOf<T, K>>,
1769
1769
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1770
1770
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1771
- S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
1771
+ S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>,
1772
1772
  >(
1773
1773
  keyPath: [K, K2, K3, K4],
1774
1774
  value: S
@@ -1779,7 +1779,7 @@ declare class RecordInstance<T: Object = Object> {
1779
1779
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1780
1780
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1781
1781
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1782
- S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
1782
+ S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>,
1783
1783
  >(
1784
1784
  keyPath: [K, K2, K3, K4, K5],
1785
1785
  value: S
@@ -1793,7 +1793,7 @@ declare class RecordInstance<T: Object = Object> {
1793
1793
  deleteIn<
1794
1794
  K: $Keys<T>,
1795
1795
  K2: $KeyOf<$ValOf<T, K>>,
1796
- K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
1796
+ K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1797
1797
  >(
1798
1798
  keyPath: [K, K2, K3]
1799
1799
  ): this & $ReadOnly<T>;
@@ -1801,7 +1801,7 @@ declare class RecordInstance<T: Object = Object> {
1801
1801
  K: $Keys<T>,
1802
1802
  K2: $KeyOf<$ValOf<T, K>>,
1803
1803
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1804
- K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
1804
+ K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1805
1805
  >(
1806
1806
  keyPath: [K, K2, K3, K4]
1807
1807
  ): this & $ReadOnly<T>;
@@ -1810,7 +1810,7 @@ declare class RecordInstance<T: Object = Object> {
1810
1810
  K2: $KeyOf<$ValOf<T, K>>,
1811
1811
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1812
1812
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1813
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
1813
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1814
1814
  >(
1815
1815
  keyPath: [K, K2, K3, K4, K5]
1816
1816
  ): this & $ReadOnly<T>;
@@ -1823,7 +1823,7 @@ declare class RecordInstance<T: Object = Object> {
1823
1823
  removeIn<
1824
1824
  K: $Keys<T>,
1825
1825
  K2: $KeyOf<$ValOf<T, K>>,
1826
- K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
1826
+ K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1827
1827
  >(
1828
1828
  keyPath: [K, K2, K3]
1829
1829
  ): this & $ReadOnly<T>;
@@ -1831,7 +1831,7 @@ declare class RecordInstance<T: Object = Object> {
1831
1831
  K: $Keys<T>,
1832
1832
  K2: $KeyOf<$ValOf<T, K>>,
1833
1833
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1834
- K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
1834
+ K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1835
1835
  >(
1836
1836
  keyPath: [K, K2, K3, K4]
1837
1837
  ): this & $ReadOnly<T>;
@@ -1840,7 +1840,7 @@ declare class RecordInstance<T: Object = Object> {
1840
1840
  K2: $KeyOf<$ValOf<T, K>>,
1841
1841
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1842
1842
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1843
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
1843
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1844
1844
  >(
1845
1845
  keyPath: [K, K2, K3, K4, K5]
1846
1846
  ): this & $ReadOnly<T>;
@@ -1864,7 +1864,7 @@ declare class RecordInstance<T: Object = Object> {
1864
1864
  NSV,
1865
1865
  K: $Keys<T>,
1866
1866
  K2: $KeyOf<$ValOf<T, K>>,
1867
- S: $ValOf<$ValOf<T, K>, K2>
1867
+ S: $ValOf<$ValOf<T, K>, K2>,
1868
1868
  >(
1869
1869
  keyPath: [K, K2],
1870
1870
  notSetValue: NSV,
@@ -1879,7 +1879,7 @@ declare class RecordInstance<T: Object = Object> {
1879
1879
  K: $Keys<T>,
1880
1880
  K2: $KeyOf<$ValOf<T, K>>,
1881
1881
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1882
- S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
1882
+ S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>,
1883
1883
  >(
1884
1884
  keyPath: [K, K2, K3],
1885
1885
  notSetValue: NSV,
@@ -1889,7 +1889,7 @@ declare class RecordInstance<T: Object = Object> {
1889
1889
  K: $Keys<T>,
1890
1890
  K2: $KeyOf<$ValOf<T, K>>,
1891
1891
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1892
- S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
1892
+ S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>,
1893
1893
  >(
1894
1894
  keyPath: [K, K2, K3],
1895
1895
  updater: (value: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>) => S
@@ -1900,7 +1900,7 @@ declare class RecordInstance<T: Object = Object> {
1900
1900
  K2: $KeyOf<$ValOf<T, K>>,
1901
1901
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1902
1902
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1903
- S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
1903
+ S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>,
1904
1904
  >(
1905
1905
  keyPath: [K, K2, K3, K4],
1906
1906
  notSetValue: NSV,
@@ -1913,7 +1913,7 @@ declare class RecordInstance<T: Object = Object> {
1913
1913
  K2: $KeyOf<$ValOf<T, K>>,
1914
1914
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1915
1915
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1916
- S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
1916
+ S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>,
1917
1917
  >(
1918
1918
  keyPath: [K, K2, K3, K4],
1919
1919
  updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>) => S
@@ -1925,7 +1925,7 @@ declare class RecordInstance<T: Object = Object> {
1925
1925
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1926
1926
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1927
1927
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1928
- S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
1928
+ S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>,
1929
1929
  >(
1930
1930
  keyPath: [K, K2, K3, K4, K5],
1931
1931
  notSetValue: NSV,
@@ -1939,7 +1939,7 @@ declare class RecordInstance<T: Object = Object> {
1939
1939
  K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
1940
1940
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
1941
1941
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
1942
- S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
1942
+ S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>,
1943
1943
  >(
1944
1944
  keyPath: [K, K2, K3, K4, K5],
1945
1945
  updater: (
@@ -2028,7 +2028,7 @@ declare function getIn<
2028
2028
  K: $KeyOf<C>,
2029
2029
  K2: $KeyOf<$ValOf<C, K>>,
2030
2030
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2031
- NSV
2031
+ NSV,
2032
2032
  >(
2033
2033
  collection: C,
2034
2034
  keyPath: [K, K2, K3],
@@ -2040,7 +2040,7 @@ declare function getIn<
2040
2040
  K2: $KeyOf<$ValOf<C, K>>,
2041
2041
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2042
2042
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2043
- NSV
2043
+ NSV,
2044
2044
  >(
2045
2045
  collection: C,
2046
2046
  keyPath: [K, K2, K3, K4],
@@ -2053,7 +2053,7 @@ declare function getIn<
2053
2053
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2054
2054
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2055
2055
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
2056
- NSV
2056
+ NSV,
2057
2057
  >(
2058
2058
  collection: C,
2059
2059
  keyPath: [K, K2, K3, K4, K5],
@@ -2072,7 +2072,7 @@ declare function removeIn<
2072
2072
  C,
2073
2073
  K: $KeyOf<C>,
2074
2074
  K2: $KeyOf<$ValOf<C, K>>,
2075
- K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>
2075
+ K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2076
2076
  >(
2077
2077
  collection: C,
2078
2078
  keyPath: [K, K2, K3]
@@ -2082,7 +2082,7 @@ declare function removeIn<
2082
2082
  K: $KeyOf<C>,
2083
2083
  K2: $KeyOf<$ValOf<C, K>>,
2084
2084
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2085
- K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>
2085
+ K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2086
2086
  >(
2087
2087
  collection: C,
2088
2088
  keyPath: [K, K2, K3, K4]
@@ -2093,7 +2093,7 @@ declare function removeIn<
2093
2093
  K2: $KeyOf<$ValOf<C, K>>,
2094
2094
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2095
2095
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2096
- K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>
2096
+ K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
2097
2097
  >(
2098
2098
  collection: C,
2099
2099
  keyPath: [K, K2, K3, K4, K5]
@@ -2109,7 +2109,7 @@ declare function setIn<
2109
2109
  C,
2110
2110
  K: $KeyOf<C>,
2111
2111
  K2: $KeyOf<$ValOf<C, K>>,
2112
- S: $ValOf<$ValOf<C, K>, K2>
2112
+ S: $ValOf<$ValOf<C, K>, K2>,
2113
2113
  >(
2114
2114
  collection: C,
2115
2115
  keyPath: [K, K2],
@@ -2120,7 +2120,7 @@ declare function setIn<
2120
2120
  K: $KeyOf<C>,
2121
2121
  K2: $KeyOf<$ValOf<C, K>>,
2122
2122
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2123
- S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>
2123
+ S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>,
2124
2124
  >(
2125
2125
  collection: C,
2126
2126
  keyPath: [K, K2, K3],
@@ -2132,7 +2132,7 @@ declare function setIn<
2132
2132
  K2: $KeyOf<$ValOf<C, K>>,
2133
2133
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2134
2134
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2135
- S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>
2135
+ S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>,
2136
2136
  >(
2137
2137
  collection: C,
2138
2138
  keyPath: [K, K2, K3, K4],
@@ -2145,7 +2145,7 @@ declare function setIn<
2145
2145
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2146
2146
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2147
2147
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
2148
- S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>
2148
+ S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>,
2149
2149
  >(
2150
2150
  collection: C,
2151
2151
  keyPath: [K, K2, K3, K4, K5],
@@ -2179,7 +2179,7 @@ declare function updateIn<
2179
2179
  K: $KeyOf<C>,
2180
2180
  K2: $KeyOf<$ValOf<C, K>>,
2181
2181
  S: $ValOf<$ValOf<C, K>, K2>,
2182
- NSV
2182
+ NSV,
2183
2183
  >(
2184
2184
  collection: C,
2185
2185
  keyPath: [K, K2],
@@ -2190,7 +2190,7 @@ declare function updateIn<
2190
2190
  C,
2191
2191
  K: $KeyOf<C>,
2192
2192
  K2: $KeyOf<$ValOf<C, K>>,
2193
- S: $ValOf<$ValOf<C, K>, K2>
2193
+ S: $ValOf<$ValOf<C, K>, K2>,
2194
2194
  >(
2195
2195
  collection: C,
2196
2196
  keyPath: [K, K2],
@@ -2202,7 +2202,7 @@ declare function updateIn<
2202
2202
  K2: $KeyOf<$ValOf<C, K>>,
2203
2203
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2204
2204
  S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>,
2205
- NSV
2205
+ NSV,
2206
2206
  >(
2207
2207
  collection: C,
2208
2208
  keyPath: [K, K2, K3],
@@ -2214,7 +2214,7 @@ declare function updateIn<
2214
2214
  K: $KeyOf<C>,
2215
2215
  K2: $KeyOf<$ValOf<C, K>>,
2216
2216
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2217
- S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>
2217
+ S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>,
2218
2218
  >(
2219
2219
  collection: C,
2220
2220
  keyPath: [K, K2, K3],
@@ -2227,7 +2227,7 @@ declare function updateIn<
2227
2227
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2228
2228
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2229
2229
  S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>,
2230
- NSV
2230
+ NSV,
2231
2231
  >(
2232
2232
  collection: C,
2233
2233
  keyPath: [K, K2, K3, K4],
@@ -2240,7 +2240,7 @@ declare function updateIn<
2240
2240
  K2: $KeyOf<$ValOf<C, K>>,
2241
2241
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2242
2242
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2243
- S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>
2243
+ S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>,
2244
2244
  >(
2245
2245
  collection: C,
2246
2246
  keyPath: [K, K2, K3, K4],
@@ -2254,7 +2254,7 @@ declare function updateIn<
2254
2254
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2255
2255
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
2256
2256
  S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>,
2257
- NSV
2257
+ NSV,
2258
2258
  >(
2259
2259
  collection: C,
2260
2260
  keyPath: [K, K2, K3, K4, K5],
@@ -2270,7 +2270,7 @@ declare function updateIn<
2270
2270
  K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
2271
2271
  K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
2272
2272
  K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
2273
- S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>
2273
+ S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>,
2274
2274
  >(
2275
2275
  collection: C,
2276
2276
  keyPath: [K, K2, K3, K4, K5],
@@ -2284,7 +2284,7 @@ declare function merge<C>(
2284
2284
  ...collections: Array<
2285
2285
  | $IterableOf<C>
2286
2286
  | $Shape<RecordValues<C>>
2287
- | PlainObjInput<$KeyOf<C>, $ValOf<C>>
2287
+ | PlainObjInput<$KeyOf<C>, $ValOf<C>>,
2288
2288
  >
2289
2289
  ): C;
2290
2290
  declare function mergeWith<C>(
@@ -2293,7 +2293,7 @@ declare function mergeWith<C>(
2293
2293
  ...collections: Array<
2294
2294
  | $IterableOf<C>
2295
2295
  | $Shape<RecordValues<C>>
2296
- | PlainObjInput<$KeyOf<C>, $ValOf<C>>
2296
+ | PlainObjInput<$KeyOf<C>, $ValOf<C>>,
2297
2297
  >
2298
2298
  ): C;
2299
2299
  declare function mergeDeep<C>(
@@ -2301,7 +2301,7 @@ declare function mergeDeep<C>(
2301
2301
  ...collections: Array<
2302
2302
  | $IterableOf<C>
2303
2303
  | $Shape<RecordValues<C>>
2304
- | PlainObjInput<$KeyOf<C>, $ValOf<C>>
2304
+ | PlainObjInput<$KeyOf<C>, $ValOf<C>>,
2305
2305
  >
2306
2306
  ): C;
2307
2307
  declare function mergeDeepWith<C>(
@@ -2310,7 +2310,7 @@ declare function mergeDeepWith<C>(
2310
2310
  ...collections: Array<
2311
2311
  | $IterableOf<C>
2312
2312
  | $Shape<RecordValues<C>>
2313
- | PlainObjInput<$KeyOf<C>, $ValOf<C>>
2313
+ | PlainObjInput<$KeyOf<C>, $ValOf<C>>,
2314
2314
  >
2315
2315
  ): C;
2316
2316
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "immutable",
3
- "version": "5.0.3",
3
+ "version": "5.1.0",
4
4
  "description": "Immutable Data Collections",
5
5
  "license": "MIT",
6
6
  "homepage": "https://immutable-js.com",