@types/lodash 4.14.153 → 4.14.157

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 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: Wed, 27 May 2020 00:19:44 GMT
11
+ * Last updated: Wed, 24 Jun 2020 11:46:46 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `_`
14
14
 
lodash/common/array.d.ts CHANGED
@@ -1128,7 +1128,7 @@ declare module "../index" {
1128
1128
  * @param arrays The arrays to inspect.
1129
1129
  * @return Returns the new array of shared values.
1130
1130
  */
1131
- intersection<T>(...arrays: Array<List<T>>): T[];
1131
+ intersection<T>(...arrays: Array<List<T> | null | undefined>): T[];
1132
1132
  }
1133
1133
 
1134
1134
  interface LoDashImplicitWrapper<TValue> {
@@ -1137,7 +1137,7 @@ declare module "../index" {
1137
1137
  */
1138
1138
  intersection<T>(
1139
1139
  this: LoDashImplicitWrapper<List<T>>,
1140
- ...arrays: Array<List<T>>
1140
+ ...arrays: Array<List<T> | null | undefined>
1141
1141
  ): LoDashImplicitWrapper<T[]>;
1142
1142
  }
1143
1143
 
@@ -1147,7 +1147,7 @@ declare module "../index" {
1147
1147
  */
1148
1148
  intersection<T>(
1149
1149
  this: LoDashExplicitWrapper<List<T>>,
1150
- ...arrays: Array<List<T>>
1150
+ ...arrays: Array<List<T> | null | undefined >
1151
1151
  ): LoDashExplicitWrapper<T[]>;
1152
1152
  }
1153
1153
 
@@ -801,10 +801,11 @@ declare module "../index" {
801
801
 
802
802
  interface LoDashStatic {
803
803
  /**
804
- * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for
805
- * storing the result based on the arguments provided to the memoized function. By default, the first argument
806
- * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with
807
- * the this binding of the memoized function.
804
+ * Creates a function that memoizes the result of `func`. If `resolver` is
805
+ * provided, it determines the cache key for storing the result based on the
806
+ * arguments provided to the memoized function. By default, the first argument
807
+ * provided to the memoized function is used as the map cache key. The `func`
808
+ * is invoked with the `this` binding of the memoized function.
808
809
  *
809
810
  * @param func The function to have its output memoized.
810
811
  * @param resolver The function to resolve the cache key.
lodash/common/lang.d.ts CHANGED
@@ -978,8 +978,6 @@ declare module "../index" {
978
978
 
979
979
  // isMatch
980
980
 
981
- type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean;
982
-
983
981
  interface LoDashStatic {
984
982
  /**
985
983
  * Performs a deep comparison between `object` and `source` to determine if
lodash/multiply.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { multiply } from './index';
1
+ import { multiply } from "./index";
2
2
  export = multiply;
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.14.153",
3
+ "version": "4.14.157",
4
4
  "description": "TypeScript definitions for Lo-Dash",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -66,6 +66,6 @@
66
66
  },
67
67
  "scripts": {},
68
68
  "dependencies": {},
69
- "typesPublisherContentHash": "4a4c89b135c250e211fc6ed4d0e5c5cce73791a4cd7bc0d97f295533d2af7611",
69
+ "typesPublisherContentHash": "401c578776aece7b131cd2f43b8606ae5f66591b6297c11805be918ff362b59f",
70
70
  "typeScriptVersion": "3.0"
71
71
  }
@@ -670,19 +670,19 @@ declare module "../index" {
670
670
  * @param arrays The arrays to inspect.
671
671
  * @return Returns the new array of shared values.
672
672
  */
673
- intersection<T>(...arrays: Array<List<T>>): T[];
673
+ intersection<T>(...arrays: Array<List<T> | null | undefined>): T[];
674
674
  }
675
675
  interface Collection<T> {
676
676
  /**
677
677
  * @see _.intersection
678
678
  */
679
- intersection(...arrays: Array<List<T>>): Collection<T>;
679
+ intersection(...arrays: Array<List<T> | null | undefined>): Collection<T>;
680
680
  }
681
681
  interface CollectionChain<T> {
682
682
  /**
683
683
  * @see _.intersection
684
684
  */
685
- intersection(...arrays: Array<List<T>>): CollectionChain<T>;
685
+ intersection(...arrays: Array<List<T> | null | undefined>): CollectionChain<T>;
686
686
  }
687
687
  interface LoDashStatic {
688
688
  /**
@@ -838,7 +838,6 @@ declare module "../index" {
838
838
  isMap(): PrimitiveChain<boolean>;
839
839
  }
840
840
 
841
- type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean;
842
841
  interface LoDashStatic {
843
842
  /**
844
843
  * Performs a deep comparison between `object` and `source` to determine if
@@ -875,7 +874,7 @@ declare module "../index" {
875
874
  isMatch(source: object): PrimitiveChain<boolean>;
876
875
  }
877
876
 
878
- type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean;
877
+ type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean | undefined;
879
878
  interface LoDashStatic {
880
879
  /**
881
880
  * This method is like `_.isMatch` except that it accepts `customizer` which