"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
const omitUndefined = obj => {
  const newObj = {};
  Object.keys(obj || {}).forEach(key => {
    if (obj[key] !== undefined) {
      newObj[key] = obj[key];
    }
  });
  return newObj;
};
var _default = omitUndefined;
exports.default = _default;