UNPKG

react-native-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS

31 lines (30 loc) 638 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Point = exports.PartiallyConstructible = void 0; exports.mapRTUUIResult = mapRTUUIResult; class PartiallyConstructible { /** @internal */ _marker() {} } exports.PartiallyConstructible = PartiallyConstructible; /** @internal */ function mapRTUUIResult(result, LClass) { if (result.status === 'CANCELED') { return result; } else { return { ...result, data: new LClass(result.data) }; } } class Point { constructor(x, y) { this.x = x; this.y = y; } } exports.Point = Point; //# sourceMappingURL=utils.js.map