functype 0.8.48 → 0.8.49
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/index.d.ts +302 -9
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +8 -9
- package/dist/chunk-3VJERXBP.js +0 -1
- package/dist/chunk-44WWBXBL.js +0 -1
- package/dist/chunk-5VTXJIR3.js +0 -1
- package/dist/chunk-A74BGUJY.js +0 -1
- package/dist/chunk-AKJ5AKY4.js +0 -1
- package/dist/chunk-E6RS47F7.js +0 -1
- package/dist/chunk-ETZOPDED.cjs +0 -1
- package/dist/chunk-F2MMVEVC.cjs +0 -1
- package/dist/chunk-F4X3NIWH.cjs +0 -1
- package/dist/chunk-GTEH27TN.cjs +0 -1
- package/dist/chunk-K3EKBPQE.js +0 -0
- package/dist/chunk-MGVXS4LE.js +0 -1
- package/dist/chunk-NK7YQNSE.cjs +0 -1
- package/dist/chunk-NSNLRGHP.js +0 -1
- package/dist/chunk-O2XFH626.js +0 -1
- package/dist/chunk-OTPXQIIK.cjs +0 -1
- package/dist/chunk-SKWCM5HU.cjs +0 -1
- package/dist/chunk-VYU4CRRS.cjs +0 -1
- package/dist/chunk-W4XJI2DG.cjs +0 -1
- package/dist/chunk-WRNN6RXF.cjs +0 -1
- package/dist/chunk-WTWWDZY6.js +0 -0
- package/dist/chunk-XORABVON.js +0 -0
- package/dist/chunk-YMNGLB2A.cjs +0 -1
- package/dist/chunk-YXBYA3MQ.cjs +0 -1
- package/dist/collections/index.cjs +0 -1
- package/dist/collections/index.d.cts +0 -9
- package/dist/collections/index.d.ts +0 -9
- package/dist/collections/index.js +0 -0
- package/dist/core/base/Base.cjs +0 -1
- package/dist/core/base/Base.d.cts +0 -12
- package/dist/core/base/Base.d.ts +0 -12
- package/dist/core/base/Base.js +0 -1
- package/dist/core/info/Info.cjs +0 -1
- package/dist/core/info/Info.d.cts +0 -28
- package/dist/core/info/Info.d.ts +0 -28
- package/dist/core/info/Info.js +0 -1
- package/dist/core/task/Task.cjs +0 -1
- package/dist/core/task/Task.d.cts +0 -9
- package/dist/core/task/Task.d.ts +0 -9
- package/dist/core/task/Task.js +0 -1
- package/dist/core/throwable/Throwable.cjs +0 -1
- package/dist/core/throwable/Throwable.d.cts +0 -20
- package/dist/core/throwable/Throwable.d.ts +0 -20
- package/dist/core/throwable/Throwable.js +0 -1
- package/dist/either/Either.cjs +0 -1
- package/dist/either/Either.d.cts +0 -9
- package/dist/either/Either.d.ts +0 -9
- package/dist/either/Either.js +0 -1
- package/dist/error/ParseError.cjs +0 -1
- package/dist/error/ParseError.d.cts +0 -8
- package/dist/error/ParseError.d.ts +0 -8
- package/dist/error/ParseError.js +0 -1
- package/dist/functor/index.cjs +0 -1
- package/dist/functor/index.d.cts +0 -20
- package/dist/functor/index.d.ts +0 -20
- package/dist/functor/index.js +0 -1
- package/dist/identity/Identity.cjs +0 -1
- package/dist/identity/Identity.d.cts +0 -6
- package/dist/identity/Identity.d.ts +0 -6
- package/dist/identity/Identity.js +0 -1
- package/dist/index-Bu5HXzs9.d.ts +0 -233
- package/dist/index-DxmJscpB.d.cts +0 -233
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -9
- package/dist/index.js +0 -1
- package/dist/iterable/index.cjs +0 -1
- package/dist/iterable/index.d.cts +0 -9
- package/dist/iterable/index.d.ts +0 -9
- package/dist/iterable/index.js +0 -1
- package/dist/list/List.cjs +0 -1
- package/dist/list/List.d.cts +0 -9
- package/dist/list/List.d.ts +0 -9
- package/dist/list/List.js +0 -1
- package/dist/map/Map.cjs +0 -1
- package/dist/map/Map.d.cts +0 -9
- package/dist/map/Map.d.ts +0 -9
- package/dist/map/Map.js +0 -1
- package/dist/map/shim.cjs +0 -1
- package/dist/map/shim.d.cts +0 -4
- package/dist/map/shim.d.ts +0 -4
- package/dist/map/shim.js +0 -1
- package/dist/option/Option.cjs +0 -1
- package/dist/option/Option.d.cts +0 -9
- package/dist/option/Option.d.ts +0 -9
- package/dist/option/Option.js +0 -1
- package/dist/serializable/Serializable.cjs +0 -3
- package/dist/serializable/Serializable.d.cts +0 -16
- package/dist/serializable/Serializable.d.ts +0 -16
- package/dist/serializable/Serializable.js +0 -3
- package/dist/set/Set.cjs +0 -1
- package/dist/set/Set.d.cts +0 -9
- package/dist/set/Set.d.ts +0 -9
- package/dist/set/Set.js +0 -1
- package/dist/set/shim.cjs +0 -1
- package/dist/set/shim.d.cts +0 -4
- package/dist/set/shim.d.ts +0 -4
- package/dist/set/shim.js +0 -1
- package/dist/try/Try.cjs +0 -1
- package/dist/try/Try.d.cts +0 -9
- package/dist/try/Try.d.ts +0 -9
- package/dist/try/Try.js +0 -1
- package/dist/tuple/Tuple.cjs +0 -1
- package/dist/tuple/Tuple.d.cts +0 -14
- package/dist/tuple/Tuple.d.ts +0 -14
- package/dist/tuple/Tuple.js +0 -1
- package/dist/typeable/Typeable.cjs +0 -1
- package/dist/typeable/Typeable.d.cts +0 -8
- package/dist/typeable/Typeable.d.ts +0 -8
- package/dist/typeable/Typeable.js +0 -1
- package/dist/util/index.cjs +0 -1
- package/dist/util/index.d.cts +0 -14
- package/dist/util/index.d.ts +0 -14
- package/dist/util/index.js +0 -1
- package/dist/util/isIterable.cjs +0 -1
- package/dist/util/isIterable.d.cts +0 -3
- package/dist/util/isIterable.d.ts +0 -3
- package/dist/util/isIterable.js +0 -1
- package/dist/valuable/Valuable.cjs +0 -1
- package/dist/valuable/Valuable.d.cts +0 -9
- package/dist/valuable/Valuable.d.ts +0 -9
- package/dist/valuable/Valuable.js +0 -1
package/dist/util/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s}from"../chunk-E6RS47F7.js";import{f as e,g as t}from"../chunk-A74BGUJY.js";import"../chunk-44WWBXBL.js";import"../chunk-AKJ5AKY4.js";import"../chunk-MGVXS4LE.js";import"../chunk-5VTXJIR3.js";import"../chunk-3VJERXBP.js";import"../chunk-NSNLRGHP.js";import"../chunk-O2XFH626.js";import"../chunk-XORABVON.js";import"../chunk-K3EKBPQE.js";import"../chunk-WTWWDZY6.js";var a=o=>{let r=parseInt(o,10);return isNaN(r)?t(s(`${r}`)):e(r)};export{a as parseNumber};
|
package/dist/util/isIterable.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-F2MMVEVC.cjs');var e=t=>t!=null&&typeof t[Symbol.iterator]=="function";exports.isIterable = e;
|
package/dist/util/isIterable.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunk-O2XFH626.js";var e=t=>t!=null&&typeof t[Symbol.iterator]=="function";export{e as isIterable};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYMNGLB2Acjs = require('../chunk-YMNGLB2A.cjs');require('../chunk-F2MMVEVC.cjs');function r(t,a,o){let T=_chunkYMNGLB2Acjs.a.call(void 0, t,a);return{toValue:()=>({_tag:T._tag,value:o})}}exports.Valuable = r;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare function Valuable<Tag extends string, V, T = object>(tag: Tag, data: T, value: V): {
|
|
2
|
-
toValue: () => {
|
|
3
|
-
_tag: Tag;
|
|
4
|
-
value: V;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
type Valuable<Tag extends string, V, T = object> = ReturnType<typeof Valuable<Tag, V, T>>;
|
|
8
|
-
|
|
9
|
-
export { Valuable };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare function Valuable<Tag extends string, V, T = object>(tag: Tag, data: T, value: V): {
|
|
2
|
-
toValue: () => {
|
|
3
|
-
_tag: Tag;
|
|
4
|
-
value: V;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
type Valuable<Tag extends string, V, T = object> = ReturnType<typeof Valuable<Tag, V, T>>;
|
|
8
|
-
|
|
9
|
-
export { Valuable };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"../chunk-AKJ5AKY4.js";import"../chunk-O2XFH626.js";function r(t,a,o){let T=e(t,a);return{toValue:()=>({_tag:T._tag,value:o})}}export{r as Valuable};
|