@types/lodash 4.17.16 → 4.17.17

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.
lodash/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for lodash (https://lodash.com).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 01 Mar 2025 03:12:01 GMT
11
+ * Last updated: Tue, 20 May 2025 18:03:15 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
lodash/common/array.d.ts CHANGED
@@ -760,15 +760,15 @@ declare module "../index" {
760
760
  * _.intersectionWith(objects, others, _.isEqual);
761
761
  * // => [{ 'x': 1, 'y': 2 }]
762
762
  */
763
- intersectionWith<T1, T2>(array: List<T1> | null | undefined, values: List<T2>, comparator: Comparator2<T1, T2>): T1[];
763
+ intersectionWith<T1, T2>(array: List<T1> | null | undefined, values: List<T2>, comparator: Comparator2<T1, T1 | T2>): T1[];
764
764
  /**
765
765
  * @see _.intersectionWith
766
766
  */
767
- intersectionWith<T1, T2, T3>(array: List<T1> | null | undefined, values1: List<T2>, values2: List<T3>, comparator: Comparator2<T1, T2 | T3>): T1[];
767
+ intersectionWith<T1, T2, T3>(array: List<T1> | null | undefined, values1: List<T2>, values2: List<T3>, comparator: Comparator2<T1, T1 | T2 | T3>): T1[];
768
768
  /**
769
769
  * @see _.intersectionWith
770
770
  */
771
- intersectionWith<T1, T2, T3, T4>(array: List<T1> | null | undefined, values1: List<T2>, values2: List<T3>, ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>): T1[];
771
+ intersectionWith<T1, T2, T3, T4>(array: List<T1> | null | undefined, values1: List<T2>, values2: List<T3>, ...values: Array<List<T4> | Comparator2<T1, T1 | T2 | T3 | T4>>): T1[];
772
772
  /**
773
773
  * @see _.intersectionWith
774
774
  */
@@ -778,7 +778,7 @@ declare module "../index" {
778
778
  /**
779
779
  * @see _.intersectionWith
780
780
  */
781
- intersectionWith<T2>(values: List<T2>, comparator: Comparator2<T, T2>): Collection<T>;
781
+ intersectionWith<T2>(values: List<T2>, comparator: Comparator2<T, T | T2>): Collection<T>;
782
782
  /**
783
783
  * @see _.intersectionWith
784
784
  */
@@ -788,7 +788,7 @@ declare module "../index" {
788
788
  /**
789
789
  * @see _.intersectionWith
790
790
  */
791
- intersectionWith<T2>(values: List<T2>, comparator: Comparator2<T, T2>): CollectionChain<T>;
791
+ intersectionWith<T2>(values: List<T2>, comparator: Comparator2<T, T | T2>): CollectionChain<T>;
792
792
  /**
793
793
  * @see _.intersectionWith
794
794
  */
lodash/fp.d.ts CHANGED
@@ -1776,13 +1776,13 @@ declare namespace _ {
1776
1776
  type LodashIntersectionBy1x5<T1> = (array: lodash.List<T1> | null) => T1[];
1777
1777
  type LodashIntersectionBy1x6<T1, T2> = (iteratee: lodash.ValueIteratee<T1 | T2>) => T1[];
1778
1778
  interface LodashIntersectionWith {
1779
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x1<T1, T2>;
1779
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x1<T1, T2>;
1780
1780
  <T1>(comparator: lodash.__, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x2<T1>;
1781
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
1781
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
1782
1782
  <T2>(comparator: lodash.__, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x4<T2>;
1783
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x5<T1>;
1783
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x5<T1>;
1784
1784
  <T1, T2>(comparator: lodash.__, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): LodashIntersectionWith1x6<T1, T2>;
1785
- <T1, T2>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1785
+ <T1, T2>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1786
1786
  }
1787
1787
  interface LodashIntersectionWith1x1<T1, T2> {
1788
1788
  (array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x3<T1, T2>;
@@ -1790,18 +1790,18 @@ declare namespace _ {
1790
1790
  (array: lodash.List<T1> | null | undefined, values: lodash.List<T2>): T1[];
1791
1791
  }
1792
1792
  interface LodashIntersectionWith1x2<T1> {
1793
- <T2>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x3<T1, T2>;
1793
+ <T2>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x3<T1, T2>;
1794
1794
  <T2>(comparator: lodash.__, values: lodash.List<T2>): LodashIntersectionWith1x6<T1, T2>;
1795
- <T2>(comparator: lodash.Comparator2<T1, T2>, values: lodash.List<T2>): T1[];
1795
+ <T2>(comparator: lodash.Comparator2<T1, T1 | T2>, values: lodash.List<T2>): T1[];
1796
1796
  }
1797
1797
  type LodashIntersectionWith1x3<T1, T2> = (values: lodash.List<T2>) => T1[];
1798
1798
  interface LodashIntersectionWith1x4<T2> {
1799
- <T1>(comparator: lodash.Comparator2<T1, T2>): LodashIntersectionWith1x5<T1>;
1799
+ <T1>(comparator: lodash.Comparator2<T1, T1 | T2>): LodashIntersectionWith1x5<T1>;
1800
1800
  <T1>(comparator: lodash.__, array: lodash.List<T1> | null | undefined): LodashIntersectionWith1x6<T1, T2>;
1801
- <T1>(comparator: lodash.Comparator2<T1, T2>, array: lodash.List<T1> | null | undefined): T1[];
1801
+ <T1>(comparator: lodash.Comparator2<T1, T1 | T2>, array: lodash.List<T1> | null | undefined): T1[];
1802
1802
  }
1803
1803
  type LodashIntersectionWith1x5<T1> = (array: lodash.List<T1> | null | undefined) => T1[];
1804
- type LodashIntersectionWith1x6<T1, T2> = (comparator: lodash.Comparator2<T1, T2>) => T1[];
1804
+ type LodashIntersectionWith1x6<T1, T2> = (comparator: lodash.Comparator2<T1, T1 | T2>) => T1[];
1805
1805
  type LodashInvert = (object: object) => lodash.Dictionary<string>;
1806
1806
  interface LodashInvertBy {
1807
1807
  <T>(interatee: lodash.ValueIteratee<T>): LodashInvertBy1x1<T>;
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.17.16",
3
+ "version": "4.17.17",
4
4
  "description": "TypeScript definitions for lodash",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
6
6
  "license": "MIT",
@@ -51,6 +51,6 @@
51
51
  "scripts": {},
52
52
  "dependencies": {},
53
53
  "peerDependencies": {},
54
- "typesPublisherContentHash": "ba68b098a7994af263bf6d32e3f966bdf89b8ce0bfaf403633ef59cdd3e6069b",
55
- "typeScriptVersion": "5.0"
54
+ "typesPublisherContentHash": "81ab89b6410e58e49431522c43180d313e8d933b3579861c67939db949594e82",
55
+ "typeScriptVersion": "5.1"
56
56
  }