import produce from 'immer';
export default (function (type, callback) {
  return function (props) {
    var _type, _ref, _props;

    return _type = type(props), (_ref = (_props = props, callback(_props)), produce(_ref))(_type);
  };
});
//# sourceMappingURL=_extendType.js.map