inferred-types 0.55.14 → 0.55.15
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/modules/inferred-types/dist/index.cjs +9 -4
- package/modules/inferred-types/dist/index.cjs.map +1 -1
- package/modules/inferred-types/dist/index.d.ts +17 -16
- package/modules/inferred-types/dist/index.js +9 -4
- package/modules/inferred-types/dist/index.js.map +1 -1
- package/modules/runtime/dist/index.cjs +9 -4
- package/modules/runtime/dist/index.cjs.map +1 -1
- package/modules/runtime/dist/index.d.ts +16 -15
- package/modules/runtime/dist/index.js +9 -4
- package/modules/runtime/dist/index.js.map +1 -1
- package/modules/types/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3835,8 +3835,13 @@ function endsWith(endingIn2) {
|
|
|
3835
3835
|
}
|
|
3836
3836
|
|
|
3837
3837
|
// src/type-guards/higher-order/isEqual.ts
|
|
3838
|
-
function
|
|
3839
|
-
return (value) =>
|
|
3838
|
+
function compare(base) {
|
|
3839
|
+
return (value) => {
|
|
3840
|
+
return base.includes(value);
|
|
3841
|
+
};
|
|
3842
|
+
}
|
|
3843
|
+
function isEqual(...base) {
|
|
3844
|
+
return compare(base);
|
|
3840
3845
|
}
|
|
3841
3846
|
|
|
3842
3847
|
// src/type-guards/higher-order/isLength.ts
|
|
@@ -3846,8 +3851,8 @@ function isLength(value, len) {
|
|
|
3846
3851
|
|
|
3847
3852
|
// src/type-guards/higher-order/isSameTypeOf.ts
|
|
3848
3853
|
function isSameTypeOf(base) {
|
|
3849
|
-
return (
|
|
3850
|
-
return typeof base === typeof
|
|
3854
|
+
return (compare2) => {
|
|
3855
|
+
return typeof base === typeof compare2;
|
|
3851
3856
|
};
|
|
3852
3857
|
}
|
|
3853
3858
|
|