summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/@babel/runtime/helpers/initializerDefineProperty.js
blob: 7f35d5038e7152925b199e65daf807a18b0b9e38 (plain)
1
2
3
4
5
6
7
8
9
10
function _initializerDefineProperty(target, property, descriptor, context) {
  if (!descriptor) return;
  Object.defineProperty(target, property, {
    enumerable: descriptor.enumerable,
    configurable: descriptor.configurable,
    writable: descriptor.writable,
    value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
  });
}
module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;