@rnw-community/shared 1.10.3 → 1.10.5
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.
- package/dist/cjs/type-guard/array/is-empty-array/is-empty-array.d.ts +1 -1
- package/dist/cjs/type-guard/array/is-empty-array/is-empty-array.d.ts.map +1 -1
- package/dist/cjs/type-guard/array/is-empty-array/is-empty-array.js.map +1 -1
- package/dist/cjs/type-guard/array/is-never.spec-type.d.ts +2 -0
- package/dist/cjs/type-guard/array/is-never.spec-type.d.ts.map +1 -0
- package/dist/cjs/type-guard/array/is-never.spec-type.js +3 -0
- package/dist/cjs/type-guard/array/is-never.spec-type.js.map +1 -0
- package/dist/cjs/type-guard/array/is-not-empty-array/is-not-empty-array.d.ts +1 -1
- package/dist/cjs/type-guard/array/is-not-empty-array/is-not-empty-array.d.ts.map +1 -1
- package/dist/cjs/type-guard/array/is-not-empty-array/is-not-empty-array.js.map +1 -1
- package/dist/esm/type-guard/array/is-empty-array/is-empty-array.d.ts +1 -1
- package/dist/esm/type-guard/array/is-empty-array/is-empty-array.d.ts.map +1 -1
- package/dist/esm/type-guard/array/is-empty-array/is-empty-array.js.map +1 -1
- package/dist/esm/type-guard/array/is-never.spec-type.d.ts +2 -0
- package/dist/esm/type-guard/array/is-never.spec-type.d.ts.map +1 -0
- package/dist/esm/type-guard/array/is-never.spec-type.js +2 -0
- package/dist/esm/type-guard/array/is-never.spec-type.js.map +1 -0
- package/dist/esm/type-guard/array/is-not-empty-array/is-not-empty-array.d.ts +1 -1
- package/dist/esm/type-guard/array/is-not-empty-array/is-not-empty-array.d.ts.map +1 -1
- package/dist/esm/type-guard/array/is-not-empty-array/is-not-empty-array.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isEmptyArray: <T
|
|
1
|
+
export declare const isEmptyArray: <T>(array: T) => array is T & readonly [];
|
|
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,GAAI,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,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,KAAK,IAAI,CAAC,GAAG,SAAS,EACzB,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,mDAA+C;AAExC,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"is-empty-array.js","sourceRoot":"","sources":["../../../../../src/type-guard/array/is-empty-array/is-empty-array.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAExC,MAAM,YAAY,GAAG,CAAI,KAAQ,EAA4B,EAAE,CAClE,IAAA,kBAAO,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;AAD5B,QAAA,YAAY,gBACgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-never.spec-type.d.ts","sourceRoot":"","sources":["../../../../src/type-guard/array/is-never.spec-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-never.spec-type.js","sourceRoot":"","sources":["../../../../src/type-guard/array/is-never.spec-type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isNotEmptyArray: <T
|
|
1
|
+
export declare const isNotEmptyArray: <T>(array: T) => array is T & (T extends readonly (infer E)[] ? readonly [E, ...E[]] : readonly [unknown, ...unknown[]]);
|
|
2
2
|
//# 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,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,SAAS,
|
|
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,eAAO,MAAM,eAAe,GAAI,CAAC,EAC7B,OAAO,CAAC,KACT,KAAK,IAAI,CAAC,GACT,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CACvD,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,mDAA+C;AAExC,MAAM,eAAe,GAAG,CAC3B,KAAQ,
|
|
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,mDAA+C;AAExC,MAAM,eAAe,GAAG,CAC3B,KAAQ,EAEmF,EAAE,CAC7F,IAAA,kBAAO,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAJ1B,QAAA,eAAe,mBAIW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isEmptyArray: <T
|
|
1
|
+
export declare const isEmptyArray: <T>(array: T) => array is T & readonly [];
|
|
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,GAAI,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,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,KAAK,IAAI,CAAC,GAAG,SAAS,EACzB,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,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,CAAC,MAAM,YAAY,GAAG,
|
|
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,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAI,KAAQ,EAA4B,EAAE,CAClE,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-never.spec-type.d.ts","sourceRoot":"","sources":["../../../../src/type-guard/array/is-never.spec-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-never.spec-type.js","sourceRoot":"","sources":["../../../../src/type-guard/array/is-never.spec-type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isNotEmptyArray: <T
|
|
1
|
+
export declare const isNotEmptyArray: <T>(array: T) => array is T & (T extends readonly (infer E)[] ? readonly [E, ...E[]] : readonly [unknown, ...unknown[]]);
|
|
2
2
|
//# 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,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,SAAS,
|
|
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,eAAO,MAAM,eAAe,GAAI,CAAC,EAC7B,OAAO,CAAC,KACT,KAAK,IAAI,CAAC,GACT,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CACvD,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,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG,CAC3B,KAAQ,
|
|
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,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG,CAC3B,KAAQ,EAEmF,EAAE,CAC7F,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": "1.10.
|
|
3
|
+
"version": "1.10.5",
|
|
4
4
|
"description": "Shared useful utils and types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"generic utils",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"clear": "rm -rf coverage && rm -rf dist && rm -f *.tsbuildinfo",
|
|
45
45
|
"clear:deps": "rm -rf ./node_modules && rm -rf ./dist"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4441ba22e3d44d0c486de827360f258023450784"
|
|
48
48
|
}
|