@types/lodash 4.17.17 → 4.17.18
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 +11 -11
- 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: Wed, 18 Jun 2025 03:50:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
lodash/common/array.d.ts
CHANGED
|
@@ -342,7 +342,7 @@ declare module "../index" {
|
|
|
342
342
|
/**
|
|
343
343
|
* @see _.fill
|
|
344
344
|
*/
|
|
345
|
-
fill<T
|
|
345
|
+
fill<T, AnyList extends List<any>>(array: AnyList extends readonly any[] ? never : AnyList | null | undefined, value: T): List<T>;
|
|
346
346
|
/**
|
|
347
347
|
* @see _.fill
|
|
348
348
|
*/
|
|
@@ -350,7 +350,7 @@ declare module "../index" {
|
|
|
350
350
|
/**
|
|
351
351
|
* @see _.fill
|
|
352
352
|
*/
|
|
353
|
-
fill<T,
|
|
353
|
+
fill<T, UList extends List<any>>(array: UList extends readonly any[] ? never : UList | null | undefined, value: T, start?: number, end?: number): List<T | UList[0]>;
|
|
354
354
|
}
|
|
355
355
|
interface Collection<T> {
|
|
356
356
|
/**
|
|
@@ -932,7 +932,7 @@ declare module "../index" {
|
|
|
932
932
|
/**
|
|
933
933
|
* @see _.pull
|
|
934
934
|
*/
|
|
935
|
-
pull<
|
|
935
|
+
pull<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, ...values: TList[0][]): TList;
|
|
936
936
|
}
|
|
937
937
|
interface Collection<T> {
|
|
938
938
|
/**
|
|
@@ -968,7 +968,7 @@ declare module "../index" {
|
|
|
968
968
|
/**
|
|
969
969
|
* @see _.pullAll
|
|
970
970
|
*/
|
|
971
|
-
pullAll<
|
|
971
|
+
pullAll<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, values?: List<TList[0]>): TList;
|
|
972
972
|
}
|
|
973
973
|
interface Collection<T> {
|
|
974
974
|
/**
|
|
@@ -1007,7 +1007,7 @@ declare module "../index" {
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @see _.pullAllBy
|
|
1009
1009
|
*/
|
|
1010
|
-
pullAllBy<
|
|
1010
|
+
pullAllBy<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, values?: List<TList[0]>, iteratee?: ValueIteratee<TList[0]>): TList;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* @see _.pullAllBy
|
|
1013
1013
|
*/
|
|
@@ -1015,7 +1015,7 @@ declare module "../index" {
|
|
|
1015
1015
|
/**
|
|
1016
1016
|
* @see _.pullAllBy
|
|
1017
1017
|
*/
|
|
1018
|
-
pullAllBy<
|
|
1018
|
+
pullAllBy<T1List extends List<any>, T2>(array: T1List extends readonly any[] ? never : T1List, values: List<T2>, iteratee: ValueIteratee<T1List[0] | T2>): T1List;
|
|
1019
1019
|
}
|
|
1020
1020
|
interface Collection<T> {
|
|
1021
1021
|
/**
|
|
@@ -1054,7 +1054,7 @@ declare module "../index" {
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @see _.pullAllWith
|
|
1056
1056
|
*/
|
|
1057
|
-
pullAllWith<
|
|
1057
|
+
pullAllWith<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, values?: List<TList[0]>, comparator?: Comparator<TList[0]>): TList;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* @see _.pullAllWith
|
|
1060
1060
|
*/
|
|
@@ -1062,7 +1062,7 @@ declare module "../index" {
|
|
|
1062
1062
|
/**
|
|
1063
1063
|
* @see _.pullAllWith
|
|
1064
1064
|
*/
|
|
1065
|
-
pullAllWith<
|
|
1065
|
+
pullAllWith<T1List extends List<any>, T2>(array: T1List extends readonly any[] ? never : T1List, values: List<T2>, comparator: Comparator2<T1List[0], T2>): T1List;
|
|
1066
1066
|
}
|
|
1067
1067
|
interface Collection<T> {
|
|
1068
1068
|
/**
|
|
@@ -1091,7 +1091,7 @@ declare module "../index" {
|
|
|
1091
1091
|
/**
|
|
1092
1092
|
* @see _.pullAt
|
|
1093
1093
|
*/
|
|
1094
|
-
pullAt<
|
|
1094
|
+
pullAt<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, ...indexes: Array<Many<number>>): TList;
|
|
1095
1095
|
}
|
|
1096
1096
|
interface Collection<T> {
|
|
1097
1097
|
/**
|
|
@@ -1116,7 +1116,7 @@ declare module "../index" {
|
|
|
1116
1116
|
* @param predicate The function invoked per iteration.
|
|
1117
1117
|
* @return Returns the new array of removed elements.
|
|
1118
1118
|
*/
|
|
1119
|
-
remove<
|
|
1119
|
+
remove<TList extends List<any>>(array: TList extends readonly any[] ? never : TList, predicate?: ListIteratee<TList[0]>): TList[0][];
|
|
1120
1120
|
}
|
|
1121
1121
|
interface Collection<T> {
|
|
1122
1122
|
/**
|
|
@@ -1150,7 +1150,7 @@ declare module "../index" {
|
|
|
1150
1150
|
* console.log(array);
|
|
1151
1151
|
* // => [3, 2, 1]
|
|
1152
1152
|
*/
|
|
1153
|
-
reverse<TList extends List<any>>(array: TList): TList;
|
|
1153
|
+
reverse<TList extends List<any>>(array: TList extends readonly any[] ? never : TList): TList;
|
|
1154
1154
|
}
|
|
1155
1155
|
interface LoDashStatic {
|
|
1156
1156
|
/**
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.18",
|
|
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": "
|
|
54
|
+
"typesPublisherContentHash": "548aefda5f6acb31e65ef4bf879e3f716b145a3d7951e9677b056b24a836a750",
|
|
55
55
|
"typeScriptVersion": "5.1"
|
|
56
56
|
}
|