"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const mapToObject = function (data) {
    if (!data) {
        return {};
    }
    else {
        return Object.assign({}, ...[...data.entries()].map(([k, v]) => ({ [k]: v })));
    }
};
exports.mapToObject = mapToObject;
//# sourceMappingURL=ObjectUtils.js.map