json-storage-formatter 1.1.1 → 1.1.2

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.
@@ -21,7 +21,7 @@ export declare const clone: <T>(value: T, { shallow, }?: {
21
21
  * true if the value is null or undefined
22
22
  * false otherwise
23
23
  * */
24
- export declare const isNil: (value: unknown) => value is null;
24
+ export declare const isNil: (value: unknown) => value is null | undefined;
25
25
  /**
26
26
  * Check if a value is a number
27
27
  * @param value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-storage-formatter",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Package for json stringify objects without losing data types",
5
5
  "main": "lib/bundle.js",
6
6
  "types": "lib/index.d.ts",