@rnw-community/shared 0.62.0 → 0.62.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.
@@ -1,2 +1,2 @@
1
- export declare const isEmptyArray: <T>(array: T[] | undefined) => array is T[];
1
+ export declare const isEmptyArray: <T>(array: T[] | null | undefined) => array is never[];
2
2
  //# sourceMappingURL=is-empty-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,6CACyC,CAAC"}
1
+ {"version":3,"file":"is-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wDACyC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":";;;AAAA,oEAAgE;AAEzD,MAAM,YAAY,GAAG,CAAI,KAAsB,EAAgB,EAAE,CACpE,IAAA,sBAAS,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;AADtD,QAAA,YAAY,gBAC0C"}
1
+ {"version":3,"file":"is-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":";;;AAAA,oEAAgE;AAEzD,MAAM,YAAY,GAAG,CAAI,KAA6B,EAAoB,EAAE,CAC/E,IAAA,sBAAS,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;AADtD,QAAA,YAAY,gBAC0C"}
@@ -1,3 +1,3 @@
1
1
  import type { IsNotEmptyArray } from '../../../type/is-not-empty-array-type/is-not-empty-array.type';
2
- export declare const isNotEmptyArray: <T>(array: unknown) => array is IsNotEmptyArray<T>;
2
+ export declare const isNotEmptyArray: <T>(array: T[] | null | undefined) => array is IsNotEmptyArray<T>;
3
3
  //# sourceMappingURL=is-not-empty-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-not-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAErG,eAAO,MAAM,eAAe,aAAc,OAAO,gCACe,CAAC"}
1
+ {"version":3,"file":"is-not-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAErG,eAAO,MAAM,eAAe,mEACoC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-not-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":";;;AAAA,oEAAgE;AAIzD,MAAM,eAAe,GAAG,CAAI,KAAc,EAA+B,EAAE,CAC9E,IAAA,sBAAS,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AADpD,QAAA,eAAe,mBACqC"}
1
+ {"version":3,"file":"is-not-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":";;;AAAA,oEAAgE;AAIzD,MAAM,eAAe,GAAG,CAAI,KAA6B,EAA+B,EAAE,CAC7F,IAAA,sBAAS,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AADpD,QAAA,eAAe,mBACqC"}
@@ -1,2 +1,2 @@
1
- export declare const isEmptyArray: <T>(array: T[] | undefined) => array is T[];
1
+ export declare const isEmptyArray: <T>(array: T[] | null | undefined) => array is never[];
2
2
  //# sourceMappingURL=is-empty-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,6CACyC,CAAC"}
1
+ {"version":3,"file":"is-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wDACyC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAI,KAAsB,EAAgB,EAAE,CACpE,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"is-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAI,KAA6B,EAAoB,EAAE,CAC/E,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { IsNotEmptyArray } from '../../../type/is-not-empty-array-type/is-not-empty-array.type';
2
- export declare const isNotEmptyArray: <T>(array: unknown) => array is IsNotEmptyArray<T>;
2
+ export declare const isNotEmptyArray: <T>(array: T[] | null | undefined) => array is IsNotEmptyArray<T>;
3
3
  //# sourceMappingURL=is-not-empty-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-not-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAErG,eAAO,MAAM,eAAe,aAAc,OAAO,gCACe,CAAC"}
1
+ {"version":3,"file":"is-not-empty-array.d.ts","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAErG,eAAO,MAAM,eAAe,mEACoC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-not-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAIhE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAI,KAAc,EAA+B,EAAE,CAC9E,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"is-not-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-not-empty-array/is-not-empty-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAIhE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAI,KAA6B,EAA+B,EAAE,CAC7F,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnw-community/shared",
3
- "version": "0.62.0",
3
+ "version": "0.62.2",
4
4
  "description": "Shared useful utils and types",
5
5
  "keywords": [
6
6
  "generic utils",
@@ -41,5 +41,5 @@
41
41
  "clear": "rm -rf coverage && rm -rf dist && rm -f *.tsbuildinfo",
42
42
  "clear:deps": "rm -rf ./node_modules && rm -rf ./dist"
43
43
  },
44
- "gitHead": "ca5f2b054c2555f34964d7a361c6cc003967c88a"
44
+ "gitHead": "a60c0248bc2cf2cfc5ef76e1c9fe8445400fdbe4"
45
45
  }
package/readme.md CHANGED
@@ -50,3 +50,4 @@ Commonly used typescript types:
50
50
  ## License
51
51
 
52
52
  This library is licensed under The [MIT License](./LICENSE.md).
53
+