@types/lodash 3.10.8 → 3.10.9
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 v3.10/README.md +1 -1
- lodash v3.10/index.d.ts +142 -142
- lodash v3.10/package.json +2 -2
lodash v3.10/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for lodash (http://lodash.com/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash/v3.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
lodash v3.10/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ declare namespace _ {
|
|
|
36
36
|
(value: number): LoDashImplicitWrapper<number>;
|
|
37
37
|
(value: string): LoDashImplicitStringWrapper;
|
|
38
38
|
(value: boolean): LoDashImplicitWrapper<boolean>;
|
|
39
|
-
(value:
|
|
40
|
-
<T>(value:
|
|
39
|
+
(value: number[]): LoDashImplicitNumberArrayWrapper;
|
|
40
|
+
<T>(value: T[]): LoDashImplicitArrayWrapper<T>;
|
|
41
41
|
<T extends {}>(value: T): LoDashImplicitObjectWrapper<T>;
|
|
42
42
|
(value: any): LoDashImplicitWrapper<any>;
|
|
43
43
|
|
|
@@ -383,7 +383,7 @@ declare namespace _ {
|
|
|
383
383
|
*/
|
|
384
384
|
difference<T>(
|
|
385
385
|
array: T[]|List<T>,
|
|
386
|
-
...values:
|
|
386
|
+
...values: Array<T[]|List<T>>
|
|
387
387
|
): T[];
|
|
388
388
|
}
|
|
389
389
|
|
|
@@ -391,28 +391,28 @@ declare namespace _ {
|
|
|
391
391
|
/**
|
|
392
392
|
* @see _.difference
|
|
393
393
|
*/
|
|
394
|
-
difference(...values:
|
|
394
|
+
difference(...values: Array<T[]|List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
interface LoDashImplicitObjectWrapper<T> {
|
|
398
398
|
/**
|
|
399
399
|
* @see _.difference
|
|
400
400
|
*/
|
|
401
|
-
difference<TValue>(...values:
|
|
401
|
+
difference<TValue>(...values: Array<TValue[]|List<TValue>>): LoDashImplicitArrayWrapper<TValue>;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
interface LoDashExplicitArrayWrapper<T> {
|
|
405
405
|
/**
|
|
406
406
|
* @see _.difference
|
|
407
407
|
*/
|
|
408
|
-
difference(...values:
|
|
408
|
+
difference(...values: Array<T[]|List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
interface LoDashExplicitObjectWrapper<T> {
|
|
412
412
|
/**
|
|
413
413
|
* @see _.difference
|
|
414
414
|
*/
|
|
415
|
-
difference<TValue>(...values:
|
|
415
|
+
difference<TValue>(...values: Array<TValue[]|List<TValue>>): LoDashExplicitArrayWrapper<TValue>;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
//_.drop
|
|
@@ -1481,35 +1481,35 @@ declare namespace _ {
|
|
|
1481
1481
|
* @param arrays The arrays to inspect.
|
|
1482
1482
|
* @return Returns the new array of shared values.
|
|
1483
1483
|
*/
|
|
1484
|
-
intersection<T>(...arrays:
|
|
1484
|
+
intersection<T>(...arrays: Array<T[]|List<T>>): T[];
|
|
1485
1485
|
}
|
|
1486
1486
|
|
|
1487
1487
|
interface LoDashImplicitArrayWrapper<T> {
|
|
1488
1488
|
/**
|
|
1489
1489
|
* @see _.intersection
|
|
1490
1490
|
*/
|
|
1491
|
-
intersection<TResult>(...arrays:
|
|
1491
|
+
intersection<TResult>(...arrays: Array<TResult[]|List<TResult>>): LoDashImplicitArrayWrapper<TResult>;
|
|
1492
1492
|
}
|
|
1493
1493
|
|
|
1494
1494
|
interface LoDashImplicitObjectWrapper<T> {
|
|
1495
1495
|
/**
|
|
1496
1496
|
* @see _.intersection
|
|
1497
1497
|
*/
|
|
1498
|
-
intersection<TResult>(...arrays:
|
|
1498
|
+
intersection<TResult>(...arrays: Array<TResult[]|List<TResult>>): LoDashImplicitArrayWrapper<TResult>;
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
1501
|
interface LoDashExplicitArrayWrapper<T> {
|
|
1502
1502
|
/**
|
|
1503
1503
|
* @see _.intersection
|
|
1504
1504
|
*/
|
|
1505
|
-
intersection<TResult>(...arrays:
|
|
1505
|
+
intersection<TResult>(...arrays: Array<TResult[]|List<TResult>>): LoDashExplicitArrayWrapper<TResult>;
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
1508
|
interface LoDashExplicitObjectWrapper<T> {
|
|
1509
1509
|
/**
|
|
1510
1510
|
* @see _.intersection
|
|
1511
1511
|
*/
|
|
1512
|
-
intersection<TResult>(...arrays:
|
|
1512
|
+
intersection<TResult>(...arrays: Array<TResult[]|List<TResult>>): LoDashExplicitArrayWrapper<TResult>;
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
//_.last
|
|
@@ -1808,7 +1808,7 @@ declare namespace _ {
|
|
|
1808
1808
|
*/
|
|
1809
1809
|
pullAt<T>(
|
|
1810
1810
|
array: List<T>,
|
|
1811
|
-
...indexes:
|
|
1811
|
+
...indexes: Array<number|number[]>
|
|
1812
1812
|
): T[];
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
@@ -1816,28 +1816,28 @@ declare namespace _ {
|
|
|
1816
1816
|
/**
|
|
1817
1817
|
* @see _.pullAt
|
|
1818
1818
|
*/
|
|
1819
|
-
pullAt(...indexes:
|
|
1819
|
+
pullAt(...indexes: Array<number|number[]>): LoDashImplicitArrayWrapper<T>;
|
|
1820
1820
|
}
|
|
1821
1821
|
|
|
1822
1822
|
interface LoDashImplicitObjectWrapper<T> {
|
|
1823
1823
|
/**
|
|
1824
1824
|
* @see _.pullAt
|
|
1825
1825
|
*/
|
|
1826
|
-
pullAt<T>(...indexes:
|
|
1826
|
+
pullAt<T>(...indexes: Array<number|number[]>): LoDashImplicitArrayWrapper<T>;
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
1829
1829
|
interface LoDashExplicitArrayWrapper<T> {
|
|
1830
1830
|
/**
|
|
1831
1831
|
* @see _.pullAt
|
|
1832
1832
|
*/
|
|
1833
|
-
pullAt(...indexes:
|
|
1833
|
+
pullAt(...indexes: Array<number|number[]>): LoDashExplicitArrayWrapper<T>;
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
1836
|
interface LoDashExplicitObjectWrapper<T> {
|
|
1837
1837
|
/**
|
|
1838
1838
|
* @see _.pullAt
|
|
1839
1839
|
*/
|
|
1840
|
-
pullAt<T>(...indexes:
|
|
1840
|
+
pullAt<T>(...indexes: Array<number|number[]>): LoDashExplicitArrayWrapper<T>;
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
1843
|
//_.remove
|
|
@@ -2929,45 +2929,45 @@ declare namespace _ {
|
|
|
2929
2929
|
* @param arrays The arrays to inspect.
|
|
2930
2930
|
* @return Returns the new array of combined values.
|
|
2931
2931
|
*/
|
|
2932
|
-
union<T>(...arrays: List<T
|
|
2932
|
+
union<T>(...arrays: Array<List<T>>): T[];
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
2935
|
interface LoDashImplicitArrayWrapper<T> {
|
|
2936
2936
|
/**
|
|
2937
2937
|
* @see _.union
|
|
2938
2938
|
*/
|
|
2939
|
-
union(...arrays: List<T
|
|
2939
|
+
union(...arrays: Array<List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
2940
2940
|
|
|
2941
2941
|
/**
|
|
2942
2942
|
* @see _.union
|
|
2943
2943
|
*/
|
|
2944
|
-
union<T>(...arrays: List<T
|
|
2944
|
+
union<T>(...arrays: Array<List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
2945
2945
|
}
|
|
2946
2946
|
|
|
2947
2947
|
interface LoDashImplicitObjectWrapper<T> {
|
|
2948
2948
|
/**
|
|
2949
2949
|
* @see _.union
|
|
2950
2950
|
*/
|
|
2951
|
-
union<T>(...arrays: List<T
|
|
2951
|
+
union<T>(...arrays: Array<List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
2954
2954
|
interface LoDashExplicitArrayWrapper<T> {
|
|
2955
2955
|
/**
|
|
2956
2956
|
* @see _.union
|
|
2957
2957
|
*/
|
|
2958
|
-
union(...arrays: List<T
|
|
2958
|
+
union(...arrays: Array<List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
2959
2959
|
|
|
2960
2960
|
/**
|
|
2961
2961
|
* @see _.union
|
|
2962
2962
|
*/
|
|
2963
|
-
union<T>(...arrays: List<T
|
|
2963
|
+
union<T>(...arrays: Array<List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
2966
|
interface LoDashExplicitObjectWrapper<T> {
|
|
2967
2967
|
/**
|
|
2968
2968
|
* @see _.union
|
|
2969
2969
|
*/
|
|
2970
|
-
union<T>(...arrays: List<T
|
|
2970
|
+
union<T>(...arrays: Array<List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
2971
2971
|
}
|
|
2972
2972
|
|
|
2973
2973
|
//_.uniq
|
|
@@ -3909,35 +3909,35 @@ declare namespace _ {
|
|
|
3909
3909
|
* @param arrays The arrays to inspect.
|
|
3910
3910
|
* @return Returns the new array of values.
|
|
3911
3911
|
*/
|
|
3912
|
-
xor<T>(...arrays: List<T
|
|
3912
|
+
xor<T>(...arrays: Array<List<T>>): T[];
|
|
3913
3913
|
}
|
|
3914
3914
|
|
|
3915
3915
|
interface LoDashImplicitArrayWrapper<T> {
|
|
3916
3916
|
/**
|
|
3917
3917
|
* @see _.xor
|
|
3918
3918
|
*/
|
|
3919
|
-
xor(...arrays: List<T
|
|
3919
|
+
xor(...arrays: Array<List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
3920
3920
|
}
|
|
3921
3921
|
|
|
3922
3922
|
interface LoDashImplicitObjectWrapper<T> {
|
|
3923
3923
|
/**
|
|
3924
3924
|
* @see _.xor
|
|
3925
3925
|
*/
|
|
3926
|
-
xor<T>(...arrays: List<T
|
|
3926
|
+
xor<T>(...arrays: Array<List<T>>): LoDashImplicitArrayWrapper<T>;
|
|
3927
3927
|
}
|
|
3928
3928
|
|
|
3929
3929
|
interface LoDashExplicitArrayWrapper<T> {
|
|
3930
3930
|
/**
|
|
3931
3931
|
* @see _.xor
|
|
3932
3932
|
*/
|
|
3933
|
-
xor(...arrays: List<T
|
|
3933
|
+
xor(...arrays: Array<List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
3934
3934
|
}
|
|
3935
3935
|
|
|
3936
3936
|
interface LoDashExplicitObjectWrapper<T> {
|
|
3937
3937
|
/**
|
|
3938
3938
|
* @see _.xor
|
|
3939
3939
|
*/
|
|
3940
|
-
xor<T>(...arrays: List<T
|
|
3940
|
+
xor<T>(...arrays: Array<List<T>>): LoDashExplicitArrayWrapper<T>;
|
|
3941
3941
|
}
|
|
3942
3942
|
|
|
3943
3943
|
//_.zip
|
|
@@ -3949,35 +3949,35 @@ declare namespace _ {
|
|
|
3949
3949
|
* @param arrays The arrays to process.
|
|
3950
3950
|
* @return Returns the new array of grouped elements.
|
|
3951
3951
|
*/
|
|
3952
|
-
zip<T>(...arrays: List<T
|
|
3952
|
+
zip<T>(...arrays: Array<List<T>>): T[][];
|
|
3953
3953
|
}
|
|
3954
3954
|
|
|
3955
3955
|
interface LoDashImplicitArrayWrapper<T> {
|
|
3956
3956
|
/**
|
|
3957
3957
|
* @see _.zip
|
|
3958
3958
|
*/
|
|
3959
|
-
zip<T>(...arrays: List<T
|
|
3959
|
+
zip<T>(...arrays: Array<List<T>>): _.LoDashImplicitArrayWrapper<T[]>;
|
|
3960
3960
|
}
|
|
3961
3961
|
|
|
3962
3962
|
interface LoDashImplicitObjectWrapper<T> {
|
|
3963
3963
|
/**
|
|
3964
3964
|
* @see _.zip
|
|
3965
3965
|
*/
|
|
3966
|
-
zip<T>(...arrays: List<T
|
|
3966
|
+
zip<T>(...arrays: Array<List<T>>): _.LoDashImplicitArrayWrapper<T[]>;
|
|
3967
3967
|
}
|
|
3968
3968
|
|
|
3969
3969
|
interface LoDashExplicitArrayWrapper<T> {
|
|
3970
3970
|
/**
|
|
3971
3971
|
* @see _.zip
|
|
3972
3972
|
*/
|
|
3973
|
-
zip<T>(...arrays: List<T
|
|
3973
|
+
zip<T>(...arrays: Array<List<T>>): _.LoDashExplicitArrayWrapper<T[]>;
|
|
3974
3974
|
}
|
|
3975
3975
|
|
|
3976
3976
|
interface LoDashExplicitObjectWrapper<T> {
|
|
3977
3977
|
/**
|
|
3978
3978
|
* @see _.zip
|
|
3979
3979
|
*/
|
|
3980
|
-
zip<T>(...arrays: List<T
|
|
3980
|
+
zip<T>(...arrays: Array<List<T>>): _.LoDashExplicitArrayWrapper<T[]>;
|
|
3981
3981
|
}
|
|
3982
3982
|
|
|
3983
3983
|
//_.zipObject
|
|
@@ -4336,24 +4336,24 @@ declare namespace _ {
|
|
|
4336
4336
|
* @param items
|
|
4337
4337
|
* @return Returns the new concatenated array.
|
|
4338
4338
|
*/
|
|
4339
|
-
concat<TItem>(...items: Array<TItem|
|
|
4339
|
+
concat<TItem>(...items: Array<TItem|TItem[]>): LoDashImplicitArrayWrapper<TItem>;
|
|
4340
4340
|
|
|
4341
4341
|
/**
|
|
4342
4342
|
* @see _.concat
|
|
4343
4343
|
*/
|
|
4344
|
-
concat(...items: Array<T|
|
|
4344
|
+
concat(...items: Array<T|T[]>): LoDashImplicitArrayWrapper<T>;
|
|
4345
4345
|
}
|
|
4346
4346
|
|
|
4347
4347
|
interface LoDashExplicitWrapperBase<T, TWrapper> {
|
|
4348
4348
|
/**
|
|
4349
4349
|
* @see _.concat
|
|
4350
4350
|
*/
|
|
4351
|
-
concat<TItem>(...items: Array<TItem|
|
|
4351
|
+
concat<TItem>(...items: Array<TItem|TItem[]>): LoDashExplicitArrayWrapper<TItem>;
|
|
4352
4352
|
|
|
4353
4353
|
/**
|
|
4354
4354
|
* @see _.concat
|
|
4355
4355
|
*/
|
|
4356
|
-
concat(...items: Array<T|
|
|
4356
|
+
concat(...items: Array<T|T[]>): LoDashExplicitArrayWrapper<T>;
|
|
4357
4357
|
}
|
|
4358
4358
|
|
|
4359
4359
|
//_.prototype.plant
|
|
@@ -4834,7 +4834,7 @@ declare namespace _ {
|
|
|
4834
4834
|
*/
|
|
4835
4835
|
at<T>(
|
|
4836
4836
|
collection: List<T>|Dictionary<T>,
|
|
4837
|
-
...props:
|
|
4837
|
+
...props: Array<number|string|Array<number|string>>
|
|
4838
4838
|
): T[];
|
|
4839
4839
|
}
|
|
4840
4840
|
|
|
@@ -4842,28 +4842,28 @@ declare namespace _ {
|
|
|
4842
4842
|
/**
|
|
4843
4843
|
* @see _.at
|
|
4844
4844
|
*/
|
|
4845
|
-
at(...props:
|
|
4845
|
+
at(...props: Array<number|string|Array<number|string>>): LoDashImplicitArrayWrapper<T>;
|
|
4846
4846
|
}
|
|
4847
4847
|
|
|
4848
4848
|
interface LoDashImplicitObjectWrapper<T> {
|
|
4849
4849
|
/**
|
|
4850
4850
|
* @see _.at
|
|
4851
4851
|
*/
|
|
4852
|
-
at<T>(...props:
|
|
4852
|
+
at<T>(...props: Array<number|string|Array<number|string>>): LoDashImplicitArrayWrapper<T>;
|
|
4853
4853
|
}
|
|
4854
4854
|
|
|
4855
4855
|
interface LoDashExplicitArrayWrapper<T> {
|
|
4856
4856
|
/**
|
|
4857
4857
|
* @see _.at
|
|
4858
4858
|
*/
|
|
4859
|
-
at(...props:
|
|
4859
|
+
at(...props: Array<number|string|Array<number|string>>): LoDashExplicitArrayWrapper<T>;
|
|
4860
4860
|
}
|
|
4861
4861
|
|
|
4862
4862
|
interface LoDashExplicitObjectWrapper<T> {
|
|
4863
4863
|
/**
|
|
4864
4864
|
* @see _.at
|
|
4865
4865
|
*/
|
|
4866
|
-
at<T>(...props:
|
|
4866
|
+
at<T>(...props: Array<number|string|Array<number|string>>): LoDashExplicitArrayWrapper<T>;
|
|
4867
4867
|
}
|
|
4868
4868
|
|
|
4869
4869
|
//_.collect
|
|
@@ -6018,7 +6018,7 @@ declare namespace _ {
|
|
|
6018
6018
|
* @see _.find
|
|
6019
6019
|
**/
|
|
6020
6020
|
findWhere<T>(
|
|
6021
|
-
collection:
|
|
6021
|
+
collection: T[],
|
|
6022
6022
|
callback: ListIterator<T, boolean>,
|
|
6023
6023
|
thisArg?: any): T | undefined;
|
|
6024
6024
|
|
|
@@ -6043,7 +6043,7 @@ declare namespace _ {
|
|
|
6043
6043
|
* @param _.matches style callback
|
|
6044
6044
|
**/
|
|
6045
6045
|
findWhere<W, T>(
|
|
6046
|
-
collection:
|
|
6046
|
+
collection: T[],
|
|
6047
6047
|
whereValue: W): T | undefined;
|
|
6048
6048
|
|
|
6049
6049
|
/**
|
|
@@ -6067,7 +6067,7 @@ declare namespace _ {
|
|
|
6067
6067
|
* @param _.property style callback
|
|
6068
6068
|
**/
|
|
6069
6069
|
findWhere<T>(
|
|
6070
|
-
collection:
|
|
6070
|
+
collection: T[],
|
|
6071
6071
|
pluckValue: string): T | undefined;
|
|
6072
6072
|
|
|
6073
6073
|
/**
|
|
@@ -6098,7 +6098,7 @@ declare namespace _ {
|
|
|
6098
6098
|
* @return The found element, else undefined.
|
|
6099
6099
|
**/
|
|
6100
6100
|
findLast<T>(
|
|
6101
|
-
collection:
|
|
6101
|
+
collection: T[],
|
|
6102
6102
|
callback: ListIterator<T, boolean>,
|
|
6103
6103
|
thisArg?: any): T | undefined;
|
|
6104
6104
|
|
|
@@ -6123,7 +6123,7 @@ declare namespace _ {
|
|
|
6123
6123
|
* @param _.pluck style callback
|
|
6124
6124
|
**/
|
|
6125
6125
|
findLast<W, T>(
|
|
6126
|
-
collection:
|
|
6126
|
+
collection: T[],
|
|
6127
6127
|
whereValue: W): T | undefined;
|
|
6128
6128
|
|
|
6129
6129
|
/**
|
|
@@ -6147,7 +6147,7 @@ declare namespace _ {
|
|
|
6147
6147
|
* @param _.where style callback
|
|
6148
6148
|
**/
|
|
6149
6149
|
findLast<T>(
|
|
6150
|
-
collection:
|
|
6150
|
+
collection: T[],
|
|
6151
6151
|
pluckValue: string): T | undefined;
|
|
6152
6152
|
|
|
6153
6153
|
/**
|
|
@@ -7066,7 +7066,7 @@ declare namespace _ {
|
|
|
7066
7066
|
* @param args Arguments to invoke the method with.
|
|
7067
7067
|
**/
|
|
7068
7068
|
invoke<T extends {}>(
|
|
7069
|
-
collection:
|
|
7069
|
+
collection: T[],
|
|
7070
7070
|
methodName: string,
|
|
7071
7071
|
...args: any[]): any;
|
|
7072
7072
|
|
|
@@ -7090,7 +7090,7 @@ declare namespace _ {
|
|
|
7090
7090
|
* @see _.invoke
|
|
7091
7091
|
**/
|
|
7092
7092
|
invoke<T extends {}>(
|
|
7093
|
-
collection:
|
|
7093
|
+
collection: T[],
|
|
7094
7094
|
method: Function,
|
|
7095
7095
|
...args: any[]): any;
|
|
7096
7096
|
|
|
@@ -7483,7 +7483,7 @@ declare namespace _ {
|
|
|
7483
7483
|
* @return Returns the accumulated value.
|
|
7484
7484
|
**/
|
|
7485
7485
|
reduce<T, TResult>(
|
|
7486
|
-
collection:
|
|
7486
|
+
collection: T[],
|
|
7487
7487
|
callback: MemoIterator<T, TResult>,
|
|
7488
7488
|
accumulator: TResult,
|
|
7489
7489
|
thisArg?: any): TResult;
|
|
@@ -7510,7 +7510,7 @@ declare namespace _ {
|
|
|
7510
7510
|
* @see _.reduce
|
|
7511
7511
|
**/
|
|
7512
7512
|
reduce<T, TResult>(
|
|
7513
|
-
collection:
|
|
7513
|
+
collection: T[],
|
|
7514
7514
|
callback: MemoIterator<T, TResult>,
|
|
7515
7515
|
thisArg?: any): TResult;
|
|
7516
7516
|
|
|
@@ -7534,7 +7534,7 @@ declare namespace _ {
|
|
|
7534
7534
|
* @see _.reduce
|
|
7535
7535
|
**/
|
|
7536
7536
|
inject<T, TResult>(
|
|
7537
|
-
collection:
|
|
7537
|
+
collection: T[],
|
|
7538
7538
|
callback: MemoIterator<T, TResult>,
|
|
7539
7539
|
accumulator: TResult,
|
|
7540
7540
|
thisArg?: any): TResult;
|
|
@@ -7561,7 +7561,7 @@ declare namespace _ {
|
|
|
7561
7561
|
* @see _.reduce
|
|
7562
7562
|
**/
|
|
7563
7563
|
inject<T, TResult>(
|
|
7564
|
-
collection:
|
|
7564
|
+
collection: T[],
|
|
7565
7565
|
callback: MemoIterator<T, TResult>,
|
|
7566
7566
|
thisArg?: any): TResult;
|
|
7567
7567
|
|
|
@@ -7585,7 +7585,7 @@ declare namespace _ {
|
|
|
7585
7585
|
* @see _.reduce
|
|
7586
7586
|
**/
|
|
7587
7587
|
foldl<T, TResult>(
|
|
7588
|
-
collection:
|
|
7588
|
+
collection: T[],
|
|
7589
7589
|
callback: MemoIterator<T, TResult>,
|
|
7590
7590
|
accumulator: TResult,
|
|
7591
7591
|
thisArg?: any): TResult;
|
|
@@ -7612,7 +7612,7 @@ declare namespace _ {
|
|
|
7612
7612
|
* @see _.reduce
|
|
7613
7613
|
**/
|
|
7614
7614
|
foldl<T, TResult>(
|
|
7615
|
-
collection:
|
|
7615
|
+
collection: T[],
|
|
7616
7616
|
callback: MemoIterator<T, TResult>,
|
|
7617
7617
|
thisArg?: any): TResult;
|
|
7618
7618
|
|
|
@@ -7786,7 +7786,7 @@ declare namespace _ {
|
|
|
7786
7786
|
* @return The accumulated value.
|
|
7787
7787
|
**/
|
|
7788
7788
|
reduceRight<T, TResult>(
|
|
7789
|
-
collection:
|
|
7789
|
+
collection: T[],
|
|
7790
7790
|
callback: MemoIterator<T, TResult>,
|
|
7791
7791
|
accumulator: TResult,
|
|
7792
7792
|
thisArg?: any): TResult;
|
|
@@ -7813,7 +7813,7 @@ declare namespace _ {
|
|
|
7813
7813
|
* @see _.reduceRight
|
|
7814
7814
|
**/
|
|
7815
7815
|
reduceRight<T, TResult>(
|
|
7816
|
-
collection:
|
|
7816
|
+
collection: T[],
|
|
7817
7817
|
callback: MemoIterator<T, TResult>,
|
|
7818
7818
|
thisArg?: any): TResult;
|
|
7819
7819
|
|
|
@@ -7837,7 +7837,7 @@ declare namespace _ {
|
|
|
7837
7837
|
* @see _.reduceRight
|
|
7838
7838
|
**/
|
|
7839
7839
|
foldr<T, TResult>(
|
|
7840
|
-
collection:
|
|
7840
|
+
collection: T[],
|
|
7841
7841
|
callback: MemoIterator<T, TResult>,
|
|
7842
7842
|
accumulator: TResult,
|
|
7843
7843
|
thisArg?: any): TResult;
|
|
@@ -7864,7 +7864,7 @@ declare namespace _ {
|
|
|
7864
7864
|
* @see _.reduceRight
|
|
7865
7865
|
**/
|
|
7866
7866
|
foldr<T, TResult>(
|
|
7867
|
-
collection:
|
|
7867
|
+
collection: T[],
|
|
7868
7868
|
callback: MemoIterator<T, TResult>,
|
|
7869
7869
|
thisArg?: any): TResult;
|
|
7870
7870
|
|
|
@@ -8842,37 +8842,37 @@ declare namespace _ {
|
|
|
8842
8842
|
* @return A new array of sorted elements.
|
|
8843
8843
|
**/
|
|
8844
8844
|
sortByAll<T>(
|
|
8845
|
-
collection:
|
|
8846
|
-
iteratees:
|
|
8845
|
+
collection: T[],
|
|
8846
|
+
iteratees: Array<ListIterator<T, any>|string|Object>): T[];
|
|
8847
8847
|
|
|
8848
8848
|
/**
|
|
8849
8849
|
* @see _.sortByAll
|
|
8850
8850
|
**/
|
|
8851
8851
|
sortByAll<T>(
|
|
8852
8852
|
collection: List<T>,
|
|
8853
|
-
iteratees:
|
|
8853
|
+
iteratees: Array<ListIterator<T, any>|string|Object>): T[];
|
|
8854
8854
|
|
|
8855
8855
|
/**
|
|
8856
8856
|
* @see _.sortByAll
|
|
8857
8857
|
**/
|
|
8858
8858
|
sortByAll<T>(
|
|
8859
|
-
collection:
|
|
8860
|
-
...iteratees:
|
|
8859
|
+
collection: T[],
|
|
8860
|
+
...iteratees: Array<ListIterator<T, any>|string|Object>): T[];
|
|
8861
8861
|
|
|
8862
8862
|
/**
|
|
8863
8863
|
* @see _.sortByAll
|
|
8864
8864
|
**/
|
|
8865
8865
|
sortByAll<T>(
|
|
8866
8866
|
collection: List<T>,
|
|
8867
|
-
...iteratees:
|
|
8867
|
+
...iteratees: Array<ListIterator<T, any>|string|Object>): T[];
|
|
8868
8868
|
|
|
8869
8869
|
/**
|
|
8870
8870
|
* Sorts by all the given arguments, using either ListIterator, pluckValue, or whereValue foramts
|
|
8871
8871
|
* @param args The rules by which to sort
|
|
8872
8872
|
*/
|
|
8873
8873
|
sortByAll<T>(
|
|
8874
|
-
collection: (
|
|
8875
|
-
...args:
|
|
8874
|
+
collection: (T[]|List<T>),
|
|
8875
|
+
...args: Array<ListIterator<T, boolean>|Object|string>
|
|
8876
8876
|
): T[];
|
|
8877
8877
|
}
|
|
8878
8878
|
|
|
@@ -8881,19 +8881,19 @@ declare namespace _ {
|
|
|
8881
8881
|
* Sorts by all the given arguments, using either ListIterator, pluckValue, or whereValue foramts
|
|
8882
8882
|
* @param args The rules by which to sort
|
|
8883
8883
|
*/
|
|
8884
|
-
sortByAll(...args:
|
|
8884
|
+
sortByAll(...args: Array<ListIterator<T, boolean>|Object|string>): LoDashImplicitArrayWrapper<T>;
|
|
8885
8885
|
|
|
8886
8886
|
/**
|
|
8887
8887
|
* @see _.sortByAll
|
|
8888
8888
|
**/
|
|
8889
8889
|
sortByAll(
|
|
8890
|
-
iteratees:
|
|
8890
|
+
iteratees: Array<ListIterator<T, any>|string|Object>): LoDashImplicitArrayWrapper<T>;
|
|
8891
8891
|
|
|
8892
8892
|
/**
|
|
8893
8893
|
* @see _.sortByAll
|
|
8894
8894
|
**/
|
|
8895
8895
|
sortByAll(
|
|
8896
|
-
...iteratees:
|
|
8896
|
+
...iteratees: Array<ListIterator<T, any>|string|Object>): LoDashImplicitArrayWrapper<T>;
|
|
8897
8897
|
}
|
|
8898
8898
|
|
|
8899
8899
|
//_.sortByOrder
|
|
@@ -8916,8 +8916,8 @@ declare namespace _ {
|
|
|
8916
8916
|
*/
|
|
8917
8917
|
sortByOrder<W extends Object, T>(
|
|
8918
8918
|
collection: List<T>,
|
|
8919
|
-
iteratees: ListIterator<T, any>|string|W|
|
|
8920
|
-
orders?: boolean|string|
|
|
8919
|
+
iteratees: ListIterator<T, any>|string|W|Array<ListIterator<T, any>|string|W>,
|
|
8920
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8921
8921
|
): T[];
|
|
8922
8922
|
|
|
8923
8923
|
/**
|
|
@@ -8925,8 +8925,8 @@ declare namespace _ {
|
|
|
8925
8925
|
*/
|
|
8926
8926
|
sortByOrder<T>(
|
|
8927
8927
|
collection: List<T>,
|
|
8928
|
-
iteratees: ListIterator<T, any>|string|Object|
|
|
8929
|
-
orders?: boolean|string|
|
|
8928
|
+
iteratees: ListIterator<T, any>|string|Object|Array<ListIterator<T, any>|string|Object>,
|
|
8929
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8930
8930
|
): T[];
|
|
8931
8931
|
|
|
8932
8932
|
/**
|
|
@@ -8934,8 +8934,8 @@ declare namespace _ {
|
|
|
8934
8934
|
*/
|
|
8935
8935
|
sortByOrder<W extends Object, T>(
|
|
8936
8936
|
collection: NumericDictionary<T>,
|
|
8937
|
-
iteratees: NumericDictionaryIterator<T, any>|string|W|
|
|
8938
|
-
orders?: boolean|string|
|
|
8937
|
+
iteratees: NumericDictionaryIterator<T, any>|string|W|Array<NumericDictionaryIterator<T, any>|string|W>,
|
|
8938
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8939
8939
|
): T[];
|
|
8940
8940
|
|
|
8941
8941
|
/**
|
|
@@ -8943,8 +8943,8 @@ declare namespace _ {
|
|
|
8943
8943
|
*/
|
|
8944
8944
|
sortByOrder<T>(
|
|
8945
8945
|
collection: NumericDictionary<T>,
|
|
8946
|
-
iteratees: NumericDictionaryIterator<T, any>|string|Object|
|
|
8947
|
-
orders?: boolean|string|
|
|
8946
|
+
iteratees: NumericDictionaryIterator<T, any>|string|Object|Array<NumericDictionaryIterator<T, any>|string|Object>,
|
|
8947
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8948
8948
|
): T[];
|
|
8949
8949
|
|
|
8950
8950
|
/**
|
|
@@ -8952,8 +8952,8 @@ declare namespace _ {
|
|
|
8952
8952
|
*/
|
|
8953
8953
|
sortByOrder<W extends Object, T>(
|
|
8954
8954
|
collection: Dictionary<T>,
|
|
8955
|
-
iteratees: DictionaryIterator<T, any>|string|W|
|
|
8956
|
-
orders?: boolean|string|
|
|
8955
|
+
iteratees: DictionaryIterator<T, any>|string|W|Array<DictionaryIterator<T, any>|string|W>,
|
|
8956
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8957
8957
|
): T[];
|
|
8958
8958
|
|
|
8959
8959
|
/**
|
|
@@ -8961,8 +8961,8 @@ declare namespace _ {
|
|
|
8961
8961
|
*/
|
|
8962
8962
|
sortByOrder<T>(
|
|
8963
8963
|
collection: Dictionary<T>,
|
|
8964
|
-
iteratees: DictionaryIterator<T, any>|string|Object|
|
|
8965
|
-
orders?: boolean|string|
|
|
8964
|
+
iteratees: DictionaryIterator<T, any>|string|Object|Array<DictionaryIterator<T, any>|string|Object>,
|
|
8965
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8966
8966
|
): T[];
|
|
8967
8967
|
}
|
|
8968
8968
|
|
|
@@ -8971,8 +8971,8 @@ declare namespace _ {
|
|
|
8971
8971
|
* @see _.sortByOrder
|
|
8972
8972
|
*/
|
|
8973
8973
|
sortByOrder(
|
|
8974
|
-
iteratees: ListIterator<T, any>|string|
|
|
8975
|
-
orders?: boolean|string|
|
|
8974
|
+
iteratees: ListIterator<T, any>|string|Array<ListIterator<T, any>|string>,
|
|
8975
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8976
8976
|
): LoDashImplicitArrayWrapper<T>;
|
|
8977
8977
|
}
|
|
8978
8978
|
|
|
@@ -8981,8 +8981,8 @@ declare namespace _ {
|
|
|
8981
8981
|
* @see _.sortByOrder
|
|
8982
8982
|
*/
|
|
8983
8983
|
sortByOrder<W extends Object>(
|
|
8984
|
-
iteratees: ListIterator<T, any>|string|W|
|
|
8985
|
-
orders?: boolean|string|
|
|
8984
|
+
iteratees: ListIterator<T, any>|string|W|Array<ListIterator<T, any>|string|W>,
|
|
8985
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8986
8986
|
): LoDashImplicitArrayWrapper<T>;
|
|
8987
8987
|
}
|
|
8988
8988
|
|
|
@@ -8991,48 +8991,48 @@ declare namespace _ {
|
|
|
8991
8991
|
* @see _.sortByOrder
|
|
8992
8992
|
*/
|
|
8993
8993
|
sortByOrder<W extends Object, T>(
|
|
8994
|
-
iteratees: ListIterator<T, any>|string|W|
|
|
8995
|
-
orders?: boolean|string|
|
|
8994
|
+
iteratees: ListIterator<T, any>|string|W|Array<ListIterator<T, any>|string|W>,
|
|
8995
|
+
orders?: boolean|string|Array<boolean|string>
|
|
8996
8996
|
): LoDashImplicitArrayWrapper<T>;
|
|
8997
8997
|
|
|
8998
8998
|
/**
|
|
8999
8999
|
* @see _.sortByOrder
|
|
9000
9000
|
*/
|
|
9001
9001
|
sortByOrder<T>(
|
|
9002
|
-
iteratees: ListIterator<T, any>|string|Object|
|
|
9003
|
-
orders?: boolean|string|
|
|
9002
|
+
iteratees: ListIterator<T, any>|string|Object|Array<ListIterator<T, any>|string|Object>,
|
|
9003
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9004
9004
|
): LoDashImplicitArrayWrapper<T>;
|
|
9005
9005
|
|
|
9006
9006
|
/**
|
|
9007
9007
|
* @see _.sortByOrder
|
|
9008
9008
|
*/
|
|
9009
9009
|
sortByOrder<W extends Object, T>(
|
|
9010
|
-
iteratees: NumericDictionaryIterator<T, any>|string|W|
|
|
9011
|
-
orders?: boolean|string|
|
|
9010
|
+
iteratees: NumericDictionaryIterator<T, any>|string|W|Array<NumericDictionaryIterator<T, any>|string|W>,
|
|
9011
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9012
9012
|
): LoDashImplicitArrayWrapper<T>;
|
|
9013
9013
|
|
|
9014
9014
|
/**
|
|
9015
9015
|
* @see _.sortByOrder
|
|
9016
9016
|
*/
|
|
9017
9017
|
sortByOrder<T>(
|
|
9018
|
-
iteratees: NumericDictionaryIterator<T, any>|string|Object|
|
|
9019
|
-
orders?: boolean|string|
|
|
9018
|
+
iteratees: NumericDictionaryIterator<T, any>|string|Object|Array<NumericDictionaryIterator<T, any>|string|Object>,
|
|
9019
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9020
9020
|
): LoDashImplicitArrayWrapper<T>;
|
|
9021
9021
|
|
|
9022
9022
|
/**
|
|
9023
9023
|
* @see _.sortByOrder
|
|
9024
9024
|
*/
|
|
9025
9025
|
sortByOrder<W extends Object, T>(
|
|
9026
|
-
iteratees: DictionaryIterator<T, any>|string|W|
|
|
9027
|
-
orders?: boolean|string|
|
|
9026
|
+
iteratees: DictionaryIterator<T, any>|string|W|Array<DictionaryIterator<T, any>|string|W>,
|
|
9027
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9028
9028
|
): LoDashImplicitArrayWrapper<T>;
|
|
9029
9029
|
|
|
9030
9030
|
/**
|
|
9031
9031
|
* @see _.sortByOrder
|
|
9032
9032
|
*/
|
|
9033
9033
|
sortByOrder<T>(
|
|
9034
|
-
iteratees: DictionaryIterator<T, any>|string|Object|
|
|
9035
|
-
orders?: boolean|string|
|
|
9034
|
+
iteratees: DictionaryIterator<T, any>|string|Object|Array<DictionaryIterator<T, any>|string|Object>,
|
|
9035
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9036
9036
|
): LoDashImplicitArrayWrapper<T>;
|
|
9037
9037
|
}
|
|
9038
9038
|
|
|
@@ -9041,8 +9041,8 @@ declare namespace _ {
|
|
|
9041
9041
|
* @see _.sortByOrder
|
|
9042
9042
|
*/
|
|
9043
9043
|
sortByOrder(
|
|
9044
|
-
iteratees: ListIterator<T, any>|string|
|
|
9045
|
-
orders?: boolean|string|
|
|
9044
|
+
iteratees: ListIterator<T, any>|string|Array<ListIterator<T, any>|string>,
|
|
9045
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9046
9046
|
): LoDashExplicitArrayWrapper<T>;
|
|
9047
9047
|
}
|
|
9048
9048
|
|
|
@@ -9051,8 +9051,8 @@ declare namespace _ {
|
|
|
9051
9051
|
* @see _.sortByOrder
|
|
9052
9052
|
*/
|
|
9053
9053
|
sortByOrder<W extends Object>(
|
|
9054
|
-
iteratees: ListIterator<T, any>|string|W|
|
|
9055
|
-
orders?: boolean|string|
|
|
9054
|
+
iteratees: ListIterator<T, any>|string|W|Array<ListIterator<T, any>|string|W>,
|
|
9055
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9056
9056
|
): LoDashExplicitArrayWrapper<T>;
|
|
9057
9057
|
}
|
|
9058
9058
|
|
|
@@ -9061,48 +9061,48 @@ declare namespace _ {
|
|
|
9061
9061
|
* @see _.sortByOrder
|
|
9062
9062
|
*/
|
|
9063
9063
|
sortByOrder<W extends Object, T>(
|
|
9064
|
-
iteratees: ListIterator<T, any>|string|W|
|
|
9065
|
-
orders?: boolean|string|
|
|
9064
|
+
iteratees: ListIterator<T, any>|string|W|Array<ListIterator<T, any>|string|W>,
|
|
9065
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9066
9066
|
): LoDashExplicitArrayWrapper<T>;
|
|
9067
9067
|
|
|
9068
9068
|
/**
|
|
9069
9069
|
* @see _.sortByOrder
|
|
9070
9070
|
*/
|
|
9071
9071
|
sortByOrder<T>(
|
|
9072
|
-
iteratees: ListIterator<T, any>|string|Object|
|
|
9073
|
-
orders?: boolean|string|
|
|
9072
|
+
iteratees: ListIterator<T, any>|string|Object|Array<ListIterator<T, any>|string|Object>,
|
|
9073
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9074
9074
|
): LoDashExplicitArrayWrapper<T>;
|
|
9075
9075
|
|
|
9076
9076
|
/**
|
|
9077
9077
|
* @see _.sortByOrder
|
|
9078
9078
|
*/
|
|
9079
9079
|
sortByOrder<W extends Object, T>(
|
|
9080
|
-
iteratees: NumericDictionaryIterator<T, any>|string|W|
|
|
9081
|
-
orders?: boolean|string|
|
|
9080
|
+
iteratees: NumericDictionaryIterator<T, any>|string|W|Array<NumericDictionaryIterator<T, any>|string|W>,
|
|
9081
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9082
9082
|
): LoDashExplicitArrayWrapper<T>;
|
|
9083
9083
|
|
|
9084
9084
|
/**
|
|
9085
9085
|
* @see _.sortByOrder
|
|
9086
9086
|
*/
|
|
9087
9087
|
sortByOrder<T>(
|
|
9088
|
-
iteratees: NumericDictionaryIterator<T, any>|string|Object|
|
|
9089
|
-
orders?: boolean|string|
|
|
9088
|
+
iteratees: NumericDictionaryIterator<T, any>|string|Object|Array<NumericDictionaryIterator<T, any>|string|Object>,
|
|
9089
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9090
9090
|
): LoDashExplicitArrayWrapper<T>;
|
|
9091
9091
|
|
|
9092
9092
|
/**
|
|
9093
9093
|
* @see _.sortByOrder
|
|
9094
9094
|
*/
|
|
9095
9095
|
sortByOrder<W extends Object, T>(
|
|
9096
|
-
iteratees: DictionaryIterator<T, any>|string|W|
|
|
9097
|
-
orders?: boolean|string|
|
|
9096
|
+
iteratees: DictionaryIterator<T, any>|string|W|Array<DictionaryIterator<T, any>|string|W>,
|
|
9097
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9098
9098
|
): LoDashExplicitArrayWrapper<T>;
|
|
9099
9099
|
|
|
9100
9100
|
/**
|
|
9101
9101
|
* @see _.sortByOrder
|
|
9102
9102
|
*/
|
|
9103
9103
|
sortByOrder<T>(
|
|
9104
|
-
iteratees: DictionaryIterator<T, any>|string|Object|
|
|
9105
|
-
orders?: boolean|string|
|
|
9104
|
+
iteratees: DictionaryIterator<T, any>|string|Object|Array<DictionaryIterator<T, any>|string|Object>,
|
|
9105
|
+
orders?: boolean|string|Array<boolean|string>
|
|
9106
9106
|
): LoDashExplicitArrayWrapper<T>;
|
|
9107
9107
|
}
|
|
9108
9108
|
|
|
@@ -9116,7 +9116,7 @@ declare namespace _ {
|
|
|
9116
9116
|
* @return A new array of elements that have the given properties.
|
|
9117
9117
|
**/
|
|
9118
9118
|
where<T, U extends {}>(
|
|
9119
|
-
list:
|
|
9119
|
+
list: T[],
|
|
9120
9120
|
properties: U): T[];
|
|
9121
9121
|
|
|
9122
9122
|
/**
|
|
@@ -9360,7 +9360,7 @@ declare namespace _ {
|
|
|
9360
9360
|
*/
|
|
9361
9361
|
bindAll<T>(
|
|
9362
9362
|
object: T,
|
|
9363
|
-
...methodNames:
|
|
9363
|
+
...methodNames: Array<string|string[]>
|
|
9364
9364
|
): T;
|
|
9365
9365
|
}
|
|
9366
9366
|
|
|
@@ -9368,14 +9368,14 @@ declare namespace _ {
|
|
|
9368
9368
|
/**
|
|
9369
9369
|
* @see _.bindAll
|
|
9370
9370
|
*/
|
|
9371
|
-
bindAll(...methodNames:
|
|
9371
|
+
bindAll(...methodNames: Array<string|string[]>): LoDashImplicitObjectWrapper<T>;
|
|
9372
9372
|
}
|
|
9373
9373
|
|
|
9374
9374
|
interface LoDashExplicitObjectWrapper<T> {
|
|
9375
9375
|
/**
|
|
9376
9376
|
* @see _.bindAll
|
|
9377
9377
|
*/
|
|
9378
|
-
bindAll(...methodNames:
|
|
9378
|
+
bindAll(...methodNames: Array<string|string[]>): LoDashExplicitObjectWrapper<T>;
|
|
9379
9379
|
}
|
|
9380
9380
|
|
|
9381
9381
|
//_.bindKey
|
|
@@ -12522,7 +12522,7 @@ declare namespace _ {
|
|
|
12522
12522
|
*/
|
|
12523
12523
|
defaults<Obj extends {}, TResult extends {}>(
|
|
12524
12524
|
object: Obj,
|
|
12525
|
-
...sources: {}
|
|
12525
|
+
...sources: Array<{}>
|
|
12526
12526
|
): TResult;
|
|
12527
12527
|
|
|
12528
12528
|
/**
|
|
@@ -12531,7 +12531,7 @@ declare namespace _ {
|
|
|
12531
12531
|
defaults<Obj extends {}, S1 extends {}, TResult extends {}>(
|
|
12532
12532
|
object: Obj,
|
|
12533
12533
|
source1: S1,
|
|
12534
|
-
...sources: {}
|
|
12534
|
+
...sources: Array<{}>
|
|
12535
12535
|
): TResult;
|
|
12536
12536
|
|
|
12537
12537
|
/**
|
|
@@ -12541,7 +12541,7 @@ declare namespace _ {
|
|
|
12541
12541
|
object: Obj,
|
|
12542
12542
|
source1: S1,
|
|
12543
12543
|
source2: S2,
|
|
12544
|
-
...sources: {}
|
|
12544
|
+
...sources: Array<{}>
|
|
12545
12545
|
): TResult;
|
|
12546
12546
|
|
|
12547
12547
|
/**
|
|
@@ -12552,7 +12552,7 @@ declare namespace _ {
|
|
|
12552
12552
|
source1: S1,
|
|
12553
12553
|
source2: S2,
|
|
12554
12554
|
source3: S3,
|
|
12555
|
-
...sources: {}
|
|
12555
|
+
...sources: Array<{}>
|
|
12556
12556
|
): TResult;
|
|
12557
12557
|
|
|
12558
12558
|
/**
|
|
@@ -12564,7 +12564,7 @@ declare namespace _ {
|
|
|
12564
12564
|
source2: S2,
|
|
12565
12565
|
source3: S3,
|
|
12566
12566
|
source4: S4,
|
|
12567
|
-
...sources: {}
|
|
12567
|
+
...sources: Array<{}>
|
|
12568
12568
|
): TResult;
|
|
12569
12569
|
|
|
12570
12570
|
/**
|
|
@@ -12572,7 +12572,7 @@ declare namespace _ {
|
|
|
12572
12572
|
*/
|
|
12573
12573
|
defaults<TResult extends {}>(
|
|
12574
12574
|
object: {},
|
|
12575
|
-
...sources: {}
|
|
12575
|
+
...sources: Array<{}>
|
|
12576
12576
|
): TResult;
|
|
12577
12577
|
}
|
|
12578
12578
|
|
|
@@ -12582,7 +12582,7 @@ declare namespace _ {
|
|
|
12582
12582
|
*/
|
|
12583
12583
|
defaults<S1 extends {}, TResult extends {}>(
|
|
12584
12584
|
source1: S1,
|
|
12585
|
-
...sources: {}
|
|
12585
|
+
...sources: Array<{}>
|
|
12586
12586
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
12587
12587
|
|
|
12588
12588
|
/**
|
|
@@ -12591,7 +12591,7 @@ declare namespace _ {
|
|
|
12591
12591
|
defaults<S1 extends {}, S2 extends {}, TResult extends {}>(
|
|
12592
12592
|
source1: S1,
|
|
12593
12593
|
source2: S2,
|
|
12594
|
-
...sources: {}
|
|
12594
|
+
...sources: Array<{}>
|
|
12595
12595
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
12596
12596
|
|
|
12597
12597
|
/**
|
|
@@ -12601,7 +12601,7 @@ declare namespace _ {
|
|
|
12601
12601
|
source1: S1,
|
|
12602
12602
|
source2: S2,
|
|
12603
12603
|
source3: S3,
|
|
12604
|
-
...sources: {}
|
|
12604
|
+
...sources: Array<{}>
|
|
12605
12605
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
12606
12606
|
|
|
12607
12607
|
/**
|
|
@@ -12612,7 +12612,7 @@ declare namespace _ {
|
|
|
12612
12612
|
source2: S2,
|
|
12613
12613
|
source3: S3,
|
|
12614
12614
|
source4: S4,
|
|
12615
|
-
...sources: {}
|
|
12615
|
+
...sources: Array<{}>
|
|
12616
12616
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
12617
12617
|
|
|
12618
12618
|
/**
|
|
@@ -12623,7 +12623,7 @@ declare namespace _ {
|
|
|
12623
12623
|
/**
|
|
12624
12624
|
* @see _.defaults
|
|
12625
12625
|
*/
|
|
12626
|
-
defaults<TResult>(...sources: {}
|
|
12626
|
+
defaults<TResult>(...sources: Array<{}>): LoDashImplicitObjectWrapper<TResult>;
|
|
12627
12627
|
}
|
|
12628
12628
|
|
|
12629
12629
|
interface LoDashExplicitObjectWrapper<T> {
|
|
@@ -12632,7 +12632,7 @@ declare namespace _ {
|
|
|
12632
12632
|
*/
|
|
12633
12633
|
defaults<S1 extends {}, TResult extends {}>(
|
|
12634
12634
|
source1: S1,
|
|
12635
|
-
...sources: {}
|
|
12635
|
+
...sources: Array<{}>
|
|
12636
12636
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
12637
12637
|
|
|
12638
12638
|
/**
|
|
@@ -12641,7 +12641,7 @@ declare namespace _ {
|
|
|
12641
12641
|
defaults<S1 extends {}, S2 extends {}, TResult extends {}>(
|
|
12642
12642
|
source1: S1,
|
|
12643
12643
|
source2: S2,
|
|
12644
|
-
...sources: {}
|
|
12644
|
+
...sources: Array<{}>
|
|
12645
12645
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
12646
12646
|
|
|
12647
12647
|
/**
|
|
@@ -12651,7 +12651,7 @@ declare namespace _ {
|
|
|
12651
12651
|
source1: S1,
|
|
12652
12652
|
source2: S2,
|
|
12653
12653
|
source3: S3,
|
|
12654
|
-
...sources: {}
|
|
12654
|
+
...sources: Array<{}>
|
|
12655
12655
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
12656
12656
|
|
|
12657
12657
|
/**
|
|
@@ -12662,7 +12662,7 @@ declare namespace _ {
|
|
|
12662
12662
|
source2: S2,
|
|
12663
12663
|
source3: S3,
|
|
12664
12664
|
source4: S4,
|
|
12665
|
-
...sources: {}
|
|
12665
|
+
...sources: Array<{}>
|
|
12666
12666
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
12667
12667
|
|
|
12668
12668
|
/**
|
|
@@ -12673,7 +12673,7 @@ declare namespace _ {
|
|
|
12673
12673
|
/**
|
|
12674
12674
|
* @see _.defaults
|
|
12675
12675
|
*/
|
|
12676
|
-
defaults<TResult>(...sources: {}
|
|
12676
|
+
defaults<TResult>(...sources: Array<{}>): LoDashExplicitObjectWrapper<TResult>;
|
|
12677
12677
|
}
|
|
12678
12678
|
|
|
12679
12679
|
//_.defaultsDeep
|
|
@@ -13918,7 +13918,7 @@ declare namespace _ {
|
|
|
13918
13918
|
*/
|
|
13919
13919
|
omit<TResult extends {}, T extends {}>(
|
|
13920
13920
|
object: T,
|
|
13921
|
-
...predicate:
|
|
13921
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
13922
13922
|
): TResult;
|
|
13923
13923
|
}
|
|
13924
13924
|
|
|
@@ -13935,7 +13935,7 @@ declare namespace _ {
|
|
|
13935
13935
|
* @see _.omit
|
|
13936
13936
|
*/
|
|
13937
13937
|
omit<TResult extends {}>(
|
|
13938
|
-
...predicate:
|
|
13938
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
13939
13939
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
13940
13940
|
}
|
|
13941
13941
|
|
|
@@ -13952,7 +13952,7 @@ declare namespace _ {
|
|
|
13952
13952
|
* @see _.omit
|
|
13953
13953
|
*/
|
|
13954
13954
|
omit<TResult extends {}>(
|
|
13955
|
-
...predicate:
|
|
13955
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
13956
13956
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
13957
13957
|
}
|
|
13958
13958
|
|
|
@@ -14008,7 +14008,7 @@ declare namespace _ {
|
|
|
14008
14008
|
*/
|
|
14009
14009
|
pick<TResult extends {}, T extends {}>(
|
|
14010
14010
|
object: T,
|
|
14011
|
-
...predicate:
|
|
14011
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
14012
14012
|
): TResult;
|
|
14013
14013
|
}
|
|
14014
14014
|
|
|
@@ -14025,7 +14025,7 @@ declare namespace _ {
|
|
|
14025
14025
|
* @see _.pick
|
|
14026
14026
|
*/
|
|
14027
14027
|
pick<TResult extends {}>(
|
|
14028
|
-
...predicate:
|
|
14028
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
14029
14029
|
): LoDashImplicitObjectWrapper<TResult>;
|
|
14030
14030
|
}
|
|
14031
14031
|
|
|
@@ -14042,7 +14042,7 @@ declare namespace _ {
|
|
|
14042
14042
|
* @see _.pick
|
|
14043
14043
|
*/
|
|
14044
14044
|
pick<TResult extends {}>(
|
|
14045
|
-
...predicate:
|
|
14045
|
+
...predicate: Array<StringRepresentable|StringRepresentable[]>
|
|
14046
14046
|
): LoDashExplicitObjectWrapper<TResult>;
|
|
14047
14047
|
}
|
|
14048
14048
|
|
lodash v3.10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.9",
|
|
4
4
|
"description": "TypeScript definitions for lodash",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {},
|
|
28
|
-
"typesPublisherContentHash": "
|
|
28
|
+
"typesPublisherContentHash": "87bd0c79a8242b84adb4a1f942653b3e2b0b8a7a5d3f73630298294e83eb1c4f",
|
|
29
29
|
"typeScriptVersion": "4.5"
|
|
30
30
|
}
|