"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.transformArrayToObject = void 0;
const transformArrayToObject = array => {
  return array.reduce((acc, item) => {
    acc[item.language] = item;
    return acc;
  }, {});
};
exports.transformArrayToObject = transformArrayToObject;
//# sourceMappingURL=transformTranslatations.js.map