hexo/node_modules/@babel/runtime/helpers/esm/defineAccessor.js

7 lines
189 B
JavaScript

export default function _defineAccessor(type, obj, key, fn) {
var desc = {
configurable: !0,
enumerable: !0
};
return desc[type] = fn, Object.defineProperty(obj, key, desc);
}