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

7 lines
195 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +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);
2023-09-25 15:58:56 +08:00
}