defineAccessor.js 286 B

12345678
  1. function _defineAccessor(type, obj, key, fn) {
  2. var desc = {
  3. configurable: !0,
  4. enumerable: !0
  5. };
  6. return desc[type] = fn, Object.defineProperty(obj, key, desc);
  7. }
  8. module.exports = _defineAccessor, module.exports.__esModule = true, module.exports["default"] = module.exports;