8 lines
286 B
JavaScript
8 lines
286 B
JavaScript
|
function _defineAccessor(type, obj, key, fn) {
|
||
|
var desc = {
|
||
|
configurable: !0,
|
||
|
enumerable: !0
|
||
|
};
|
||
|
return desc[type] = fn, Object.defineProperty(obj, key, desc);
|
||
|
}
|
||
|
module.exports = _defineAccessor, module.exports.__esModule = true, module.exports["default"] = module.exports;
|