@types/lodash 4.14.125 → 4.14.129
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 +2 -2
- lodash/index.d.ts +0 -1
- lodash/package.json +2 -7
- lodash/ts3.1/common/collection.d.ts +4 -4
- lodash/ts3.1/common/common.d.ts +4 -6
- lodash/ts3.1/common/object.d.ts +0 -4
lodash/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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:
|
|
11
|
+
* Last updated: Tue, 14 May 2019 21:36:51 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: _
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>, AJ Richardson <https://github.com/aj-r>,
|
|
16
|
+
These definitions were written by Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>, AJ Richardson <https://github.com/aj-r>, e-cloud <https://github.com/e-cloud>, Georgii Dolzhykov <https://github.com/thorn0>, Jack Moore <https://github.com/jtmthf>, Dominique Rau <https://github.com/DomiR>.
|
lodash/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
// Ilya Mochalov <https://github.com/chrootsu>,
|
|
5
5
|
// Stepan Mikhaylyuk <https://github.com/stepancar>,
|
|
6
6
|
// AJ Richardson <https://github.com/aj-r>,
|
|
7
|
-
// Junyoung Clare Jang <https://github.com/ailrun>,
|
|
8
7
|
// e-cloud <https://github.com/e-cloud>,
|
|
9
8
|
// Georgii Dolzhykov <https://github.com/thorn0>,
|
|
10
9
|
// Jack Moore <https://github.com/jtmthf>,
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.129",
|
|
4
4
|
"description": "TypeScript definitions for Lo-Dash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
"url": "https://github.com/aj-r",
|
|
25
25
|
"githubUsername": "aj-r"
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
"name": "Junyoung Clare Jang",
|
|
29
|
-
"url": "https://github.com/ailrun",
|
|
30
|
-
"githubUsername": "ailrun"
|
|
31
|
-
},
|
|
32
27
|
{
|
|
33
28
|
"name": "e-cloud",
|
|
34
29
|
"url": "https://github.com/e-cloud",
|
|
@@ -66,6 +61,6 @@
|
|
|
66
61
|
},
|
|
67
62
|
"scripts": {},
|
|
68
63
|
"dependencies": {},
|
|
69
|
-
"typesPublisherContentHash": "
|
|
64
|
+
"typesPublisherContentHash": "99733c4a013f658b4ea26c608c4cd0465c59c35a8015a52d510a1f414dff5c37",
|
|
70
65
|
"typeScriptVersion": "2.8"
|
|
71
66
|
}
|
|
@@ -956,13 +956,13 @@ declare module "../index" {
|
|
|
956
956
|
/**
|
|
957
957
|
* @see _.groupBy
|
|
958
958
|
*/
|
|
959
|
-
groupBy(iteratee?: ValueIteratee<string>): Object<Dictionary<string>>;
|
|
959
|
+
groupBy(iteratee?: ValueIteratee<string>): Object<Dictionary<string[]>>;
|
|
960
960
|
}
|
|
961
961
|
interface Collection<T> {
|
|
962
962
|
/**
|
|
963
963
|
* @see _.groupBy
|
|
964
964
|
*/
|
|
965
|
-
groupBy(iteratee?: ValueIteratee<T>): Object<Dictionary<T>>;
|
|
965
|
+
groupBy(iteratee?: ValueIteratee<T>): Object<Dictionary<T[]>>;
|
|
966
966
|
}
|
|
967
967
|
interface Object<T> {
|
|
968
968
|
/**
|
|
@@ -974,7 +974,7 @@ declare module "../index" {
|
|
|
974
974
|
/**
|
|
975
975
|
* @see _.groupBy
|
|
976
976
|
*/
|
|
977
|
-
groupBy(iteratee?: ValueIteratee<string>): ObjectChain<Dictionary<string>>;
|
|
977
|
+
groupBy(iteratee?: ValueIteratee<string>): ObjectChain<Dictionary<string[]>>;
|
|
978
978
|
}
|
|
979
979
|
interface StringNullableChain {
|
|
980
980
|
/**
|
|
@@ -986,7 +986,7 @@ declare module "../index" {
|
|
|
986
986
|
/**
|
|
987
987
|
* @see _.groupBy
|
|
988
988
|
*/
|
|
989
|
-
groupBy(iteratee?: ValueIteratee<T>): ObjectChain<Dictionary<T>>;
|
|
989
|
+
groupBy(iteratee?: ValueIteratee<T>): ObjectChain<Dictionary<T[]>>;
|
|
990
990
|
}
|
|
991
991
|
interface ObjectChain<T> {
|
|
992
992
|
/**
|
lodash/ts3.1/common/common.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare module "../index" {
|
|
|
7
7
|
type Many<T> = T | ReadonlyArray<T>;
|
|
8
8
|
type ImpChain<T> =
|
|
9
9
|
T extends { __trapAny: any } ? Collection<any> & Function<any> & Object<any> & Primitive<any> & String :
|
|
10
|
-
T extends null | undefined ?
|
|
10
|
+
T extends null | undefined ? never :
|
|
11
11
|
T extends string | null | undefined ? String :
|
|
12
12
|
T extends (...args: any) => any ? Function<T> :
|
|
13
13
|
T extends List<infer U> | null | undefined ? Collection<U> :
|
|
@@ -15,7 +15,7 @@ declare module "../index" {
|
|
|
15
15
|
Primitive<T>;
|
|
16
16
|
type ExpChain<T> =
|
|
17
17
|
T extends { __trapAny: any } ? CollectionChain<any> & FunctionChain<any> & ObjectChain<any> & PrimitiveChain<any> & StringChain :
|
|
18
|
-
T extends null | undefined ?
|
|
18
|
+
T extends null | undefined ? never :
|
|
19
19
|
T extends string ? StringChain :
|
|
20
20
|
T extends string | null | undefined ? StringNullableChain :
|
|
21
21
|
T extends (...args: any) => any ? FunctionChain<T> :
|
|
@@ -193,7 +193,7 @@ declare module "../index" {
|
|
|
193
193
|
}
|
|
194
194
|
interface Object<T> extends LoDashImplicitWrapper<T> {
|
|
195
195
|
}
|
|
196
|
-
interface Collection<T> extends LoDashImplicitWrapper<
|
|
196
|
+
interface Collection<T> extends LoDashImplicitWrapper<T[]> {
|
|
197
197
|
}
|
|
198
198
|
interface Primitive<T> extends LoDashImplicitWrapper<T> {
|
|
199
199
|
}
|
|
@@ -205,9 +205,7 @@ declare module "../index" {
|
|
|
205
205
|
}
|
|
206
206
|
interface ObjectChain<T> extends LoDashExplicitWrapper<T> {
|
|
207
207
|
}
|
|
208
|
-
interface CollectionChain<T> extends LoDashExplicitWrapper<
|
|
209
|
-
}
|
|
210
|
-
interface CollectionNullableChain<T> extends LoDashExplicitWrapper<List<T> | undefined> {
|
|
208
|
+
interface CollectionChain<T> extends LoDashExplicitWrapper<T[]> {
|
|
211
209
|
}
|
|
212
210
|
interface PrimitiveChain<T> extends LoDashExplicitWrapper<T> {
|
|
213
211
|
}
|
lodash/ts3.1/common/object.d.ts
CHANGED
|
@@ -1416,10 +1416,6 @@ declare module "../index" {
|
|
|
1416
1416
|
* @return Returns the new mapped object.
|
|
1417
1417
|
*/
|
|
1418
1418
|
mapValues<TResult>(obj: string | null | undefined, callback: StringIterator<TResult>): NumericDictionary<TResult>;
|
|
1419
|
-
/**
|
|
1420
|
-
* @see _.mapValues
|
|
1421
|
-
*/
|
|
1422
|
-
mapValues<T, TResult>(obj: Dictionary<T> | NumericDictionary<T> | null | undefined, callback: DictionaryIterator<T, TResult>): Dictionary<TResult>;
|
|
1423
1419
|
/**
|
|
1424
1420
|
* @see _.mapValues
|
|
1425
1421
|
*/
|