@dgpholdings/greatoak-shared 1.0.40 → 1.0.42
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 +1 -0
- package/dist/index.js +1 -0
- package/dist/typeGuards/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/typeGuards/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isRecordBodyWeightTypeGuard = exports.isRecordDurationTypeGuard = exports.isRecordWeightTypeGuard = void 0;
|
|
4
|
-
const isRecordWeightTypeGuard = (param) => param[0].type === "weight-reps";
|
|
4
|
+
const isRecordWeightTypeGuard = (param) => { var _a; return ((_a = param === null || param === void 0 ? void 0 : param[0]) === null || _a === void 0 ? void 0 : _a.type) === "weight-reps"; };
|
|
5
5
|
exports.isRecordWeightTypeGuard = isRecordWeightTypeGuard;
|
|
6
|
-
const isRecordDurationTypeGuard = (param) => param[0].type === "duration";
|
|
6
|
+
const isRecordDurationTypeGuard = (param) => { var _a; return ((_a = param === null || param === void 0 ? void 0 : param[0]) === null || _a === void 0 ? void 0 : _a.type) === "duration"; };
|
|
7
7
|
exports.isRecordDurationTypeGuard = isRecordDurationTypeGuard;
|
|
8
|
-
const isRecordBodyWeightTypeGuard = (param) => param[0].type === "reps-only";
|
|
8
|
+
const isRecordBodyWeightTypeGuard = (param) => { var _a; return ((_a = param === null || param === void 0 ? void 0 : param[0]) === null || _a === void 0 ? void 0 : _a.type) === "reps-only"; };
|
|
9
9
|
exports.isRecordBodyWeightTypeGuard = isRecordBodyWeightTypeGuard;
|