@rnw-community/shared 1.10.5 → 1.10.6
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-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-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 isNotEmptyArray: <T>(array: T) => array is T & (T extends readonly (infer E)[] ? readonly [E, ...E[]] : readonly [unknown, ...unknown[]]);
|
|
1
|
+
export declare const isNotEmptyArray: <T>(array: T) => array is T & (Extract<T, readonly unknown[]> 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,EAC7B,OAAO,CAAC,KACT,KAAK,IAAI,CAAC,GACT,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,
|
|
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,OAAO,CAAC,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACtD,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GACpB,SAAS,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CACJ,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,EAIgC,EAAE,CAC1C,IAAA,kBAAO,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAN1B,QAAA,eAAe,mBAMW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isNotEmptyArray: <T>(array: T) => array is T & (T extends readonly (infer E)[] ? readonly [E, ...E[]] : readonly [unknown, ...unknown[]]);
|
|
1
|
+
export declare const isNotEmptyArray: <T>(array: T) => array is T & (Extract<T, readonly unknown[]> 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,EAC7B,OAAO,CAAC,KACT,KAAK,IAAI,CAAC,GACT,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,
|
|
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,OAAO,CAAC,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACtD,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GACpB,SAAS,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CACJ,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,EAIgC,EAAE,CAC1C,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.6",
|
|
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": "d325a2f937f0f38401d01521f85f21f8e8a378e3"
|
|
48
48
|
}
|