@battis/typescript-tricks 0.7.1 → 0.7.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/CHANGELOG.md +6 -0
- package/dist/Coerce/Coerce.js +1 -1
- package/dist/Coerce/Error.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/Coerce/Coerce.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Coerce = Coerce;
|
|
4
|
-
function FailedCoercion(
|
|
4
|
+
function FailedCoercion() {
|
|
5
5
|
throw new TypeError('Attempted coercion to a non-matching type');
|
|
6
6
|
}
|
|
7
7
|
function Coerce(u, isT, toT = (FailedCoercion)) {
|
package/dist/Coerce/Error.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@battis/typescript-tricks",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "A handful of useful types and operators",
|
|
5
|
-
"homepage": "https://github.com/battis/typescript-config/tree/main/packages/tricks#readme",
|
|
5
|
+
"homepage": "https://github.com/battis/typescript-config/tree/main/packages/typescript-tricks#readme",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/battis/typescript-config.git",
|
|
9
|
-
"directory": "packages/tricks"
|
|
9
|
+
"directory": "packages/typescript-tricks"
|
|
10
10
|
},
|
|
11
11
|
"license": "GPL-3.0",
|
|
12
12
|
"author": {
|