type-plus 3.15.0 → 4.0.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.
- package/README.md +1 -55
- package/cjs/array/index.d.ts +17 -17
- package/cjs/array/index.js +5 -18
- package/cjs/array/index.js.map +1 -1
- package/cjs/assertion/index.js +5 -1
- package/cjs/assertion/index.js.map +1 -1
- package/cjs/class/index.d.ts +1 -1
- package/cjs/class/index.js +5 -2
- package/cjs/class/index.js.map +1 -1
- package/cjs/function/index.d.ts +1 -1
- package/cjs/function/index.js +0 -11
- package/cjs/function/index.js.map +1 -1
- package/cjs/functional/index.d.ts +1 -1
- package/cjs/functional/index.js +0 -12
- package/cjs/functional/index.js.map +1 -1
- package/cjs/index.d.ts +3 -7
- package/cjs/index.js +8 -22
- package/cjs/index.js.map +1 -1
- package/cjs/math/index.d.ts +7 -7
- package/cjs/math/index.js +0 -17
- package/cjs/math/index.js.map +1 -1
- package/cjs/nodejs/index.js +5 -1
- package/cjs/nodejs/index.js.map +1 -1
- package/cjs/nominal-types/index.js +5 -1
- package/cjs/nominal-types/index.js.map +1 -1
- package/cjs/object/index.d.ts +18 -18
- package/cjs/object/index.js +5 -19
- package/cjs/object/index.js.map +1 -1
- package/cjs/predicates/CanAssign.d.ts +1 -1
- package/cjs/predicates/{isEmptyObject.d.ts → IsEmptyObject.d.ts} +0 -0
- package/cjs/{types/AllType.js → predicates/IsEmptyObject.js} +1 -1
- package/cjs/predicates/IsEmptyObject.js.map +1 -0
- package/cjs/predicates/index.d.ts +5 -5
- package/cjs/predicates/index.js +5 -6
- package/cjs/predicates/index.js.map +1 -1
- package/cjs/promise/index.d.ts +2 -2
- package/cjs/promise/index.js +5 -3
- package/cjs/promise/index.js.map +1 -1
- package/cjs/utils/index.d.ts +1 -1
- package/cjs/utils/index.js +5 -2
- package/cjs/utils/index.js.map +1 -1
- package/esm/array/index.js +0 -17
- package/esm/array/index.js.map +1 -1
- package/esm/class/index.js +0 -1
- package/esm/class/index.js.map +1 -1
- package/esm/function/index.js +1 -1
- package/esm/function/index.js.map +1 -1
- package/esm/functional/index.js +1 -2
- package/esm/functional/index.js.map +1 -1
- package/esm/index.js +2 -7
- package/esm/index.js.map +1 -1
- package/esm/math/index.js +1 -7
- package/esm/math/index.js.map +1 -1
- package/esm/object/index.js +0 -18
- package/esm/object/index.js.map +1 -1
- package/esm/predicates/IsEmptyObject.js +2 -0
- package/esm/predicates/IsEmptyObject.js.map +1 -0
- package/esm/predicates/index.js +0 -5
- package/esm/predicates/index.js.map +1 -1
- package/esm/promise/index.js +0 -2
- package/esm/promise/index.js.map +1 -1
- package/esm/utils/index.js +0 -1
- package/esm/utils/index.js.map +1 -1
- package/package.json +20 -18
- package/ts/array/index.ts +19 -19
- package/ts/binary/_binary.ts +1 -1
- package/ts/class/index.ts +1 -1
- package/ts/function/index.ts +1 -1
- package/ts/functional/ChainFn.ts +6 -6
- package/ts/functional/index.ts +2 -2
- package/ts/index.spec.ts +6 -4
- package/ts/index.ts +7 -7
- package/ts/math/index.ts +7 -7
- package/ts/object/Partial.spec.ts +49 -49
- package/ts/object/index.ts +35 -35
- package/ts/predicates/CanAssign.ts +1 -1
- package/ts/predicates/{isEmptyObject.spec.ts → IsEmptyObject.spec.ts} +0 -0
- package/ts/predicates/{isEmptyObject.ts → IsEmptyObject.ts} +0 -0
- package/ts/predicates/index.ts +17 -17
- package/ts/promise/index.ts +2 -2
- package/ts/type-checker/typeChecker.spec.ts +2 -1
- package/ts/types/check.spec.ts +1 -1
- package/ts/types/conform.spec.ts +1 -1
- package/ts/types/index.ts +28 -28
- package/ts/types/satisfy.accept.ts +39 -38
- package/ts/types/satisfy.spec.ts +2 -1
- package/ts/utils/index.ts +2 -2
- package/cjs/predicates/isEmptyObject.js +0 -3
- package/cjs/predicates/isEmptyObject.js.map +0 -1
- package/cjs/types/AllType.d.ts +0 -18
- package/cjs/types/AllType.js.map +0 -1
- package/cjs/types/Any.d.ts +0 -6
- package/cjs/types/Any.js +0 -5
- package/cjs/types/Any.js.map +0 -1
- package/cjs/types/Array.d.ts +0 -28
- package/cjs/types/Array.js +0 -30
- package/cjs/types/Array.js.map +0 -1
- package/cjs/types/Boolean.d.ts +0 -29
- package/cjs/types/Boolean.js +0 -28
- package/cjs/types/Boolean.js.map +0 -1
- package/cjs/types/Generate.d.ts +0 -32
- package/cjs/types/Generate.js +0 -3
- package/cjs/types/Generate.js.map +0 -1
- package/cjs/types/Null.d.ts +0 -8
- package/cjs/types/Null.js +0 -10
- package/cjs/types/Null.js.map +0 -1
- package/cjs/types/Number.d.ts +0 -36
- package/cjs/types/Number.js +0 -50
- package/cjs/types/Number.js.map +0 -1
- package/cjs/types/Object.d.ts +0 -313
- package/cjs/types/Object.js +0 -35
- package/cjs/types/Object.js.map +0 -1
- package/cjs/types/Record.d.ts +0 -16
- package/cjs/types/Record.js +0 -17
- package/cjs/types/Record.js.map +0 -1
- package/cjs/types/String.d.ts +0 -36
- package/cjs/types/String.js +0 -51
- package/cjs/types/String.js.map +0 -1
- package/cjs/types/Symbol.d.ts +0 -8
- package/cjs/types/Symbol.js +0 -13
- package/cjs/types/Symbol.js.map +0 -1
- package/cjs/types/Tuple.d.ts +0 -35
- package/cjs/types/Tuple.js +0 -43
- package/cjs/types/Tuple.js.map +0 -1
- package/cjs/types/Undefined.d.ts +0 -6
- package/cjs/types/Undefined.js +0 -5
- package/cjs/types/Undefined.js.map +0 -1
- package/cjs/types/Union.d.ts +0 -20
- package/cjs/types/Union.js +0 -52
- package/cjs/types/Union.js.map +0 -1
- package/cjs/types/Unknown.d.ts +0 -6
- package/cjs/types/Unknown.js +0 -5
- package/cjs/types/Unknown.js.map +0 -1
- package/cjs/types/analyze.d.ts +0 -13
- package/cjs/types/analyze.js +0 -159
- package/cjs/types/analyze.js.map +0 -1
- package/cjs/types/check.d.ts +0 -14
- package/cjs/types/check.js +0 -25
- package/cjs/types/check.js.map +0 -1
- package/cjs/types/conform.d.ts +0 -15
- package/cjs/types/conform.js +0 -26
- package/cjs/types/conform.js.map +0 -1
- package/cjs/types/getPlainAnalysisReport.d.ts +0 -2
- package/cjs/types/getPlainAnalysisReport.js +0 -120
- package/cjs/types/getPlainAnalysisReport.js.map +0 -1
- package/cjs/types/index.d.ts +0 -26
- package/cjs/types/index.js +0 -45
- package/cjs/types/index.js.map +0 -1
- package/cjs/types/optional.d.ts +0 -328
- package/cjs/types/optional.js +0 -33
- package/cjs/types/optional.js.map +0 -1
- package/cjs/types/required.d.ts +0 -664
- package/cjs/types/required.js +0 -33
- package/cjs/types/required.js.map +0 -1
- package/cjs/types/satisfy.d.ts +0 -15
- package/cjs/types/satisfy.js +0 -26
- package/cjs/types/satisfy.js.map +0 -1
- package/cjs/types/types.d.ts +0 -9
- package/cjs/types/types.js +0 -3
- package/cjs/types/types.js.map +0 -1
- package/esm/predicates/isEmptyObject.js +0 -2
- package/esm/predicates/isEmptyObject.js.map +0 -1
- package/esm/types/AllType.js +0 -2
- package/esm/types/AllType.js.map +0 -1
- package/esm/types/Any.js +0 -2
- package/esm/types/Any.js.map +0 -1
- package/esm/types/Array.js +0 -27
- package/esm/types/Array.js.map +0 -1
- package/esm/types/Boolean.js +0 -25
- package/esm/types/Boolean.js.map +0 -1
- package/esm/types/Generate.js +0 -2
- package/esm/types/Generate.js.map +0 -1
- package/esm/types/Null.js +0 -7
- package/esm/types/Null.js.map +0 -1
- package/esm/types/Number.js +0 -30
- package/esm/types/Number.js.map +0 -1
- package/esm/types/Object.js +0 -31
- package/esm/types/Object.js.map +0 -1
- package/esm/types/Record.js +0 -14
- package/esm/types/Record.js.map +0 -1
- package/esm/types/String.js +0 -31
- package/esm/types/String.js.map +0 -1
- package/esm/types/Symbol.js +0 -10
- package/esm/types/Symbol.js.map +0 -1
- package/esm/types/Tuple.js +0 -23
- package/esm/types/Tuple.js.map +0 -1
- package/esm/types/Undefined.js +0 -2
- package/esm/types/Undefined.js.map +0 -1
- package/esm/types/Union.js +0 -32
- package/esm/types/Union.js.map +0 -1
- package/esm/types/Unknown.js +0 -2
- package/esm/types/Unknown.js.map +0 -1
- package/esm/types/analyze.js +0 -142
- package/esm/types/analyze.js.map +0 -1
- package/esm/types/check.js +0 -21
- package/esm/types/check.js.map +0 -1
- package/esm/types/conform.js +0 -22
- package/esm/types/conform.js.map +0 -1
- package/esm/types/getPlainAnalysisReport.js +0 -106
- package/esm/types/getPlainAnalysisReport.js.map +0 -1
- package/esm/types/index.js +0 -28
- package/esm/types/index.js.map +0 -1
- package/esm/types/optional.js +0 -30
- package/esm/types/optional.js.map +0 -1
- package/esm/types/required.js +0 -30
- package/esm/types/required.js.map +0 -1
- package/esm/types/satisfy.js +0 -22
- package/esm/types/satisfy.js.map +0 -1
- package/esm/types/types.js +0 -2
- package/esm/types/types.js.map +0 -1
package/README.md
CHANGED
|
@@ -15,7 +15,6 @@ Provides additional types and type adjusted utilities for [TypeScript](https://w
|
|
|
15
15
|
|
|
16
16
|
## Feature Highlights
|
|
17
17
|
|
|
18
|
-
- [Runtime type checker](#runtime-type-checker)
|
|
19
18
|
- [Type assertion](#type-assertion)
|
|
20
19
|
- [Nominal Types](#nominal-type)
|
|
21
20
|
- [Type Utilities](#type-utilities)
|
|
@@ -28,59 +27,6 @@ npm install type-plus
|
|
|
28
27
|
yarn add type-plus
|
|
29
28
|
```
|
|
30
29
|
|
|
31
|
-
## Runtime type checker
|
|
32
|
-
|
|
33
|
-
Bringing the power of TypeScript to JavaScript runtime.
|
|
34
|
-
At the moment, this provides some basic functionalities.
|
|
35
|
-
If you need more features, I would recommend other excellent type checking libraries such as [zod](https://github.com/colinhacks/zod).
|
|
36
|
-
|
|
37
|
-
```ts
|
|
38
|
-
const eslintConfig = T.object.create({
|
|
39
|
-
env: O.object.create({
|
|
40
|
-
es6: O.boolean
|
|
41
|
-
}),
|
|
42
|
-
parseOptions: O.object.create({
|
|
43
|
-
ecmaVersion: O.number.list(3, 5, 6, 7, 8, 9, 10, 11, 12),
|
|
44
|
-
sourceType: O.string.list('script', 'module'),
|
|
45
|
-
ecmaFeatures: O.object.create({
|
|
46
|
-
globalReturn: O.boolean,
|
|
47
|
-
impliedStrict: O.boolean,
|
|
48
|
-
jsx: O.boolean
|
|
49
|
-
})
|
|
50
|
-
}),
|
|
51
|
-
...
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
const config: unknown = require('.eslintrc.json')
|
|
55
|
-
if (T.satisfy(eslintConfig, config)) {
|
|
56
|
-
// `config` is typed here
|
|
57
|
-
config.parseOptions?.ecmaVersion // 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
console.error(T.satisfy.getReport())
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
All type checker functionalities are exposed as `types` (alias to `T`).
|
|
66
|
-
In addition, `O` and `R` are exposed to make it easier to access optional types and required types respectively.
|
|
67
|
-
|
|
68
|
-
Types supported: `any`, `array`, `boolean`, `null`, `number`, `object`, `record`, `string`, `symbol`, `tuple`, `undefined`, `union`, `unknown`.
|
|
69
|
-
|
|
70
|
-
i.e., most of the basic types are supported except `bigint`.
|
|
71
|
-
It is left out for backward compatibility reasons.
|
|
72
|
-
|
|
73
|
-
You can use one of the three functions to perform type-check:
|
|
74
|
-
|
|
75
|
-
`satisfy(type, subject)`:
|
|
76
|
-
A loose type check that permits extra elements in `Tuple` and properties in `Object`.
|
|
77
|
-
|
|
78
|
-
`conform(type, subject)`:
|
|
79
|
-
A strict type check that does not allow extra elements in `Tuple` and properties in `Object`.
|
|
80
|
-
|
|
81
|
-
`check(options, type, subject)`:
|
|
82
|
-
A general form of `satisfy()` and `conform()`.
|
|
83
|
-
|
|
84
30
|
## Type Assertion
|
|
85
31
|
|
|
86
32
|
Besides the [runtime type checker](#runtime-type-checker),
|
|
@@ -120,7 +66,7 @@ a standard `TypeError` will be thrown and provide better error info.
|
|
|
120
66
|
For example:
|
|
121
67
|
|
|
122
68
|
```ts
|
|
123
|
-
const s:
|
|
69
|
+
const s: unknown = 1
|
|
124
70
|
|
|
125
71
|
// TypeError: subject fails to satisfy s => typeof s === 'boolean'
|
|
126
72
|
assertType<boolean>(s, s => typeof s === 'boolean')
|
package/cjs/array/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
1
|
+
export type { CommonKeys, CommonPropKeys } from './CommonPropKeys';
|
|
2
|
+
export type { Concat } from './Concat';
|
|
3
|
+
export type { CreateTuple } from './CreateTuple';
|
|
4
|
+
export type { DropFirst } from './DropFirst';
|
|
5
|
+
export type { DropLast } from './DropLast';
|
|
6
|
+
export type { Filter } from './Filter';
|
|
7
|
+
export type { FindFirst, First } from './FindFirst';
|
|
8
|
+
export type { FindLast } from './FindLast';
|
|
9
|
+
export type { Head } from './Head';
|
|
10
|
+
export type { IntersectOfProps, MapToProp } from './IntersectOfProps';
|
|
11
|
+
export type { IsArray } from './IsArray';
|
|
12
12
|
export * from './literalArray';
|
|
13
|
-
export
|
|
13
|
+
export type { PadLeft } from './PadLeft';
|
|
14
14
|
export * from './reduceWhile';
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
15
|
+
export type { Reverse } from './Reverse';
|
|
16
|
+
export type { Some } from './Some';
|
|
17
|
+
export type { Tail } from './Tail';
|
|
18
|
+
export type { PropUnion, UnionOfProps } from './UnionOfProps';
|
|
19
|
+
export type { ArrayValue, UnionOfValues } from './UnionOfValues';
|
package/cjs/array/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -10,23 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./CommonPropKeys"), exports);
|
|
14
|
-
__exportStar(require("./Concat"), exports);
|
|
15
|
-
__exportStar(require("./CreateTuple"), exports);
|
|
16
|
-
__exportStar(require("./DropFirst"), exports);
|
|
17
|
-
__exportStar(require("./DropLast"), exports);
|
|
18
|
-
__exportStar(require("./Filter"), exports);
|
|
19
|
-
__exportStar(require("./FindFirst"), exports);
|
|
20
|
-
__exportStar(require("./FindLast"), exports);
|
|
21
|
-
__exportStar(require("./Head"), exports);
|
|
22
|
-
__exportStar(require("./IntersectOfProps"), exports);
|
|
23
|
-
__exportStar(require("./IsArray"), exports);
|
|
24
17
|
__exportStar(require("./literalArray"), exports);
|
|
25
|
-
__exportStar(require("./PadLeft"), exports);
|
|
26
18
|
__exportStar(require("./reduceWhile"), exports);
|
|
27
|
-
__exportStar(require("./Reverse"), exports);
|
|
28
|
-
__exportStar(require("./Some"), exports);
|
|
29
|
-
__exportStar(require("./Tail"), exports);
|
|
30
|
-
__exportStar(require("./UnionOfProps"), exports);
|
|
31
|
-
__exportStar(require("./UnionOfValues"), exports);
|
|
32
19
|
//# sourceMappingURL=index.js.map
|
package/cjs/array/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/array/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/array/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAWA,iDAA8B;AAE9B,gDAA6B"}
|
package/cjs/assertion/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/assertion/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/assertion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B"}
|
package/cjs/class/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type { AnyConstructor } from './AnyConstructor';
|
|
2
2
|
export * from './isConstructor';
|
package/cjs/class/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -10,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./AnyConstructor"), exports);
|
|
14
17
|
__exportStar(require("./isConstructor"), exports);
|
|
15
18
|
//# sourceMappingURL=index.js.map
|
package/cjs/class/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/class/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/class/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,kDAA+B"}
|
package/cjs/function/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type { AnyFunction } from './AnyFunction';
|
package/cjs/function/index.js
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./AnyFunction"), exports);
|
|
14
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/function/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/function/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type { ChainFn, EndoFn } from './ChainFn';
|
package/cjs/functional/index.js
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
// export * from './Maybe'
|
|
14
|
-
__exportStar(require("./ChainFn"), exports);
|
|
15
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/functional/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/functional/index.ts"],"names":[],"mappings":""}
|
package/cjs/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as types from './types';
|
|
2
1
|
export { required, requiredDeep } from 'unpartial';
|
|
3
2
|
export * from './array';
|
|
4
3
|
export * from './assertion';
|
|
5
4
|
export * from './class';
|
|
6
|
-
export
|
|
5
|
+
export type { ComposableTypes, NonComposableTypes } from './ComposableTypes';
|
|
7
6
|
export * from './function';
|
|
8
7
|
export * from './functional';
|
|
9
8
|
export * from './JSONTypes';
|
|
@@ -12,10 +11,7 @@ export * from './nodejs';
|
|
|
12
11
|
export * from './nominal-types';
|
|
13
12
|
export * from './object';
|
|
14
13
|
export * from './predicates';
|
|
15
|
-
export
|
|
14
|
+
export type { PrimitiveTypes } from './PrimitiveTypes';
|
|
16
15
|
export * from './promise';
|
|
17
|
-
export
|
|
18
|
-
export * from './types/required';
|
|
19
|
-
export * from './UnionKeys';
|
|
16
|
+
export type { UnionKeys } from './UnionKeys';
|
|
20
17
|
export * from './utils';
|
|
21
|
-
export { types, types as T };
|
package/cjs/index.js
CHANGED
|
@@ -1,38 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
8
12
|
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
15
|
};
|
|
24
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
exports.types = types;
|
|
28
|
-
exports.T = types;
|
|
17
|
+
exports.requiredDeep = exports.required = void 0;
|
|
18
|
+
// import * as types from './types'
|
|
29
19
|
var unpartial_1 = require("unpartial");
|
|
30
20
|
Object.defineProperty(exports, "required", { enumerable: true, get: function () { return unpartial_1.required; } });
|
|
31
21
|
Object.defineProperty(exports, "requiredDeep", { enumerable: true, get: function () { return unpartial_1.requiredDeep; } });
|
|
32
22
|
__exportStar(require("./array"), exports);
|
|
33
23
|
__exportStar(require("./assertion"), exports);
|
|
34
24
|
__exportStar(require("./class"), exports);
|
|
35
|
-
__exportStar(require("./ComposableTypes"), exports);
|
|
36
25
|
__exportStar(require("./function"), exports);
|
|
37
26
|
__exportStar(require("./functional"), exports);
|
|
38
27
|
__exportStar(require("./JSONTypes"), exports);
|
|
@@ -41,10 +30,7 @@ __exportStar(require("./nodejs"), exports);
|
|
|
41
30
|
__exportStar(require("./nominal-types"), exports);
|
|
42
31
|
__exportStar(require("./object"), exports);
|
|
43
32
|
__exportStar(require("./predicates"), exports);
|
|
44
|
-
__exportStar(require("./PrimitiveTypes"), exports);
|
|
45
33
|
__exportStar(require("./promise"), exports);
|
|
46
|
-
__exportStar(require("./types/optional"), exports);
|
|
47
|
-
__exportStar(require("./types/required"), exports);
|
|
48
|
-
__exportStar(require("./UnionKeys"), exports);
|
|
49
34
|
__exportStar(require("./utils"), exports);
|
|
35
|
+
// export { types, types as T }
|
|
50
36
|
//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAAmC;AACnC,uCAAkD;AAAzC,qGAAA,QAAQ,OAAA;AAAE,yGAAA,YAAY,OAAA;AAC/B,0CAAuB;AACvB,8CAA2B;AAC3B,0CAAuB;AAEvB,6CAA0B;AAC1B,+CAA4B;AAC5B,8CAA2B;AAC3B,yCAAsB;AACtB,2CAAwB;AACxB,kDAA+B;AAC/B,2CAAwB;AACxB,+CAA4B;AAE5B,4CAAyB;AAIzB,0CAAuB;AACvB,+BAA+B"}
|
package/cjs/math/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
1
|
+
export type { Abs } from './Abs';
|
|
2
|
+
export type { Add, Increment } from './Add';
|
|
3
|
+
export type { GreaterThan } from './GreaterThan';
|
|
4
|
+
export type { IsPositive } from './IsPositive';
|
|
5
|
+
export type { IsWhole } from './IsWhole';
|
|
6
|
+
export type { Max } from './Max';
|
|
7
|
+
export type { Decrement, Subtract } from './Subtract';
|
package/cjs/math/index.js
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./Abs"), exports);
|
|
14
|
-
__exportStar(require("./Add"), exports);
|
|
15
|
-
__exportStar(require("./GreaterThan"), exports);
|
|
16
|
-
__exportStar(require("./IsPositive"), exports);
|
|
17
|
-
__exportStar(require("./IsWhole"), exports);
|
|
18
|
-
__exportStar(require("./Max"), exports);
|
|
19
|
-
__exportStar(require("./Subtract"), exports);
|
|
20
3
|
//# sourceMappingURL=index.js.map
|
package/cjs/math/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/math/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/math/index.ts"],"names":[],"mappings":""}
|
package/cjs/nodejs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/cjs/nodejs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/nodejs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/nodejs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/nominal-types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/nominal-types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,2CAAwB;AACxB,iDAA8B"}
|
package/cjs/object/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export * from './AnyRecord';
|
|
1
|
+
export type { ANotB, BNotA, LeftJoin } from './ANotB';
|
|
2
|
+
export type { AnyRecord } from './AnyRecord';
|
|
4
3
|
export * from './everyKey';
|
|
5
|
-
export
|
|
4
|
+
export type { ExcludePropType } from './ExcludePropType';
|
|
6
5
|
export * from './facade';
|
|
7
6
|
export * from './filterKey';
|
|
8
7
|
export * from './findKey';
|
|
@@ -10,25 +9,26 @@ export * from './forEachKey';
|
|
|
10
9
|
export * from './getField';
|
|
11
10
|
export * from './hasKey';
|
|
12
11
|
export * from './hasProperty';
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
12
|
+
export type { IsDisjoint } from './IsDisjoint';
|
|
13
|
+
export type { IsRecord } from './IsRecord';
|
|
14
|
+
export type { KeysOfOptional } from './KeyofOptional';
|
|
15
|
+
export type { KeysWithDiffType } from './KeysWithDiffType';
|
|
16
|
+
export type { KeyTypes } from './KeyTypes';
|
|
17
|
+
export type { KnownKeys } from './KnownKeys';
|
|
18
18
|
export * from './mapKey';
|
|
19
19
|
export * from './mapProperties';
|
|
20
20
|
export * from './omit';
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export type { OptionalKeys } from './OptionalKeys';
|
|
22
|
+
export type { PartialOmit, PartialPick, PartialExcept } from './Partial';
|
|
23
23
|
export * from './pick';
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
24
|
+
export type { RecursiveIntersect } from './RecursiveIntersect';
|
|
25
|
+
export type { RecursivePartial } from './RecursivePartial';
|
|
26
|
+
export type { RecursiveRequired } from './RecursiveRequired';
|
|
27
27
|
export * from './reduceKey';
|
|
28
28
|
export * from './replaceProperty';
|
|
29
|
-
export
|
|
30
|
-
export
|
|
29
|
+
export type { RequiredExcept, RequiredPick } from './Required';
|
|
30
|
+
export type { RequiredKeys } from './RequiredKeys';
|
|
31
31
|
export * from './someKey';
|
|
32
|
-
export
|
|
32
|
+
export type { SpreadRecord } from './SpreadRecord';
|
|
33
33
|
export * from './typeOverrideIncompatible';
|
|
34
|
-
export
|
|
34
|
+
export type { ValueOf } from './ValueOf';
|
package/cjs/object/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -10,11 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("../object/IsDisjoint"), exports);
|
|
14
|
-
__exportStar(require("./ANotB"), exports);
|
|
15
|
-
__exportStar(require("./AnyRecord"), exports);
|
|
16
17
|
__exportStar(require("./everyKey"), exports);
|
|
17
|
-
__exportStar(require("./ExcludePropType"), exports);
|
|
18
18
|
__exportStar(require("./facade"), exports);
|
|
19
19
|
__exportStar(require("./filterKey"), exports);
|
|
20
20
|
__exportStar(require("./findKey"), exports);
|
|
@@ -22,26 +22,12 @@ __exportStar(require("./forEachKey"), exports);
|
|
|
22
22
|
__exportStar(require("./getField"), exports);
|
|
23
23
|
__exportStar(require("./hasKey"), exports);
|
|
24
24
|
__exportStar(require("./hasProperty"), exports);
|
|
25
|
-
__exportStar(require("./IsRecord"), exports);
|
|
26
|
-
__exportStar(require("./KeyofOptional"), exports);
|
|
27
|
-
__exportStar(require("./KeysWithDiffType"), exports);
|
|
28
|
-
__exportStar(require("./KeyTypes"), exports);
|
|
29
|
-
__exportStar(require("./KnownKeys"), exports);
|
|
30
25
|
__exportStar(require("./mapKey"), exports);
|
|
31
26
|
__exportStar(require("./mapProperties"), exports);
|
|
32
27
|
__exportStar(require("./omit"), exports);
|
|
33
|
-
__exportStar(require("./OptionalKeys"), exports);
|
|
34
|
-
__exportStar(require("./Partial"), exports);
|
|
35
28
|
__exportStar(require("./pick"), exports);
|
|
36
|
-
__exportStar(require("./RecursiveIntersect"), exports);
|
|
37
|
-
__exportStar(require("./RecursivePartial"), exports);
|
|
38
|
-
__exportStar(require("./RecursiveRequired"), exports);
|
|
39
29
|
__exportStar(require("./reduceKey"), exports);
|
|
40
30
|
__exportStar(require("./replaceProperty"), exports);
|
|
41
|
-
__exportStar(require("./Required"), exports);
|
|
42
|
-
__exportStar(require("./RequiredKeys"), exports);
|
|
43
31
|
__exportStar(require("./someKey"), exports);
|
|
44
|
-
__exportStar(require("./SpreadRecord"), exports);
|
|
45
32
|
__exportStar(require("./typeOverrideIncompatible"), exports);
|
|
46
|
-
__exportStar(require("./ValueOf"), exports);
|
|
47
33
|
//# sourceMappingURL=index.js.map
|
package/cjs/object/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/object/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/object/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,6CAA0B;AAE1B,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB;AACzB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB;AACxB,gDAA6B;AAO7B,2CAAwB;AACxB,kDAA+B;AAC/B,yCAAsB;AAGtB,yCAAsB;AAItB,8CAA2B;AAC3B,oDAAiC;AAGjC,4CAAyB;AAEzB,6DAA0C"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IsEmptyObject.js","sourceRoot":"","sources":["../../ts/predicates/IsEmptyObject.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './CanAssign';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type { Equal, IsEqual, IsNotEqual, NotEqual } from './Equal';
|
|
3
|
+
export type { Extendable, IsExtend, IsNotExtend, NotExtendable } from './Extends';
|
|
4
|
+
export type { If } from './If';
|
|
5
5
|
export * from './isType';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type { And, Not, Or, Xor } from './logical';
|
|
7
|
+
export type { IsEmptyObject } from './IsEmptyObject';
|
|
8
8
|
import { IsExtend } from './Extends';
|
|
9
9
|
export declare type IsLiteral<T extends number | string, Then = true, Else = false> = number extends T ? Else : string extends T ? Else : Then;
|
|
10
10
|
export declare type IsBoolean<T, Then = true, Else = false> = boolean extends T ? Then : Else;
|
package/cjs/predicates/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -11,10 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
17
|
__exportStar(require("./CanAssign"), exports);
|
|
14
|
-
__exportStar(require("./Equal"), exports);
|
|
15
|
-
__exportStar(require("./Extends"), exports);
|
|
16
|
-
__exportStar(require("./If"), exports);
|
|
17
18
|
__exportStar(require("./isType"), exports);
|
|
18
|
-
__exportStar(require("./logical"), exports);
|
|
19
|
-
__exportStar(require("./isEmptyObject"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/predicates/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/predicates/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAI3B,2CAAwB"}
|
package/cjs/promise/index.d.ts
CHANGED