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

7 lines
189 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
export default function _defineAccessor(type, obj, key, fn) {
var desc = {
configurable: !0,
enumerable: !0
};
return desc[type] = fn, Object.defineProperty(obj, key, desc);
}