@types/lodash 4.17.0 → 4.17.1

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: Tue, 12 Mar 2024 10:06:57 GMT
11
+ * Last updated: Sat, 04 May 2024 08:07:33 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
lodash/common/object.d.ts CHANGED
@@ -1327,6 +1327,7 @@ declare module "../index" {
1327
1327
  * _.has(other, 'a');
1328
1328
  * // => false
1329
1329
  */
1330
+ has<T, K extends PropertyName>(object: T, path: K): object is T & { [P in K]: P extends keyof T ? T[P] : Record<string, unknown> extends T ? T[keyof T] : unknown};
1330
1331
  has<T>(object: T, path: PropertyPath): boolean;
1331
1332
  }
1332
1333
  interface LoDashImplicitWrapper<TValue> {
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "description": "TypeScript definitions for lodash",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
6
6
  "license": "MIT",
@@ -55,6 +55,6 @@
55
55
  },
56
56
  "scripts": {},
57
57
  "dependencies": {},
58
- "typesPublisherContentHash": "f5830c525c38ef84b3c7646c2c8454acab154d76e66fa6073f635c27774167d1",
58
+ "typesPublisherContentHash": "bb1319797de347a8fbd3949c371a764f6e979fb21503f11dac75962f95cdd144",
59
59
  "typeScriptVersion": "4.7"
60
60
  }