@types/lodash 4.17.9 → 4.17.11
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 +1 -1
- lodash/common/array.d.ts +2 -0
- lodash/package.json +2 -2
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:
|
|
11
|
+
* Last updated: Fri, 18 Oct 2024 11:36:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
lodash/common/array.d.ts
CHANGED
|
@@ -574,6 +574,7 @@ declare module "../index" {
|
|
|
574
574
|
* @param array The array to query.
|
|
575
575
|
* @return Returns the first element of array.
|
|
576
576
|
*/
|
|
577
|
+
head<T>(array: readonly [T, ...unknown[]]): T;
|
|
577
578
|
head<T>(array: List<T> | null | undefined): T | undefined;
|
|
578
579
|
}
|
|
579
580
|
interface String {
|
|
@@ -1450,6 +1451,7 @@ declare module "../index" {
|
|
|
1450
1451
|
* @param array The array to query.
|
|
1451
1452
|
* @return Returns the slice of array.
|
|
1452
1453
|
*/
|
|
1454
|
+
tail<T extends unknown[]>(array: readonly [unknown, ...T]): T;
|
|
1453
1455
|
tail<T>(array: List<T> | null | undefined): T[];
|
|
1454
1456
|
}
|
|
1455
1457
|
interface Collection<T> {
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.11",
|
|
4
4
|
"description": "TypeScript definitions for lodash",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {},
|
|
52
52
|
"dependencies": {},
|
|
53
|
-
"typesPublisherContentHash": "
|
|
53
|
+
"typesPublisherContentHash": "544c54514d0d3054b50e80744fdc2a3ef9c035b3c590d33a2085c4bea548d7f5",
|
|
54
54
|
"typeScriptVersion": "4.8"
|
|
55
55
|
}
|