@types/lodash 4.14.175 → 4.14.176

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 Lo-Dash (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: Mon, 27 Sep 2021 21:31:22 GMT
11
+ * Last updated: Wed, 20 Oct 2021 22:31:23 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `_`
14
14
 
lodash/common/object.d.ts CHANGED
@@ -2079,7 +2079,7 @@ declare module "../index" {
2079
2079
  /**
2080
2080
  * @see _.pickBy
2081
2081
  */
2082
- pickBy(predicate?: ValueKeyIteratee<T[keyof T]>): Object<PartialObject<T>>;
2082
+ pickBy(predicate?: ValueKeyIteratee<T[keyof T]>): Object<T extends Dictionary<unknown> ? Dictionary<T[keyof T]> : T extends NumericDictionary<unknown> ? NumericDictionary<T[keyof T]> : PartialObject<T>>;
2083
2083
  }
2084
2084
  interface CollectionChain<T> {
2085
2085
  /**
@@ -2099,7 +2099,7 @@ declare module "../index" {
2099
2099
  /**
2100
2100
  * @see _.pickBy
2101
2101
  */
2102
- pickBy(predicate?: ValueKeyIteratee<T[keyof T]>): ObjectChain<PartialObject<T>>;
2102
+ pickBy(predicate?: ValueKeyIteratee<T[keyof T]>): ObjectChain<T extends Dictionary<unknown> ? Dictionary<T[keyof T]> : T extends NumericDictionary<unknown> ? NumericDictionary<T[keyof T]> : PartialObject<T>>;
2103
2103
  }
2104
2104
  interface LoDashStatic {
2105
2105
  /**
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.14.175",
3
+ "version": "4.14.176",
4
4
  "description": "TypeScript definitions for Lo-Dash",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
6
6
  "license": "MIT",
@@ -60,6 +60,6 @@
60
60
  },
61
61
  "scripts": {},
62
62
  "dependencies": {},
63
- "typesPublisherContentHash": "f4a27682253ddddc6816dab7ffb6532f7ae7c2e4e906f94527fe9a2df5b97022",
63
+ "typesPublisherContentHash": "1b67ca87899020bd2db2d94fd988d84696030b943ffcb0c59f5f0e16da2e1d51",
64
64
  "typeScriptVersion": "3.7"
65
65
  }