Sha256: 18864b942260b275c585e57090dcabadbf888e722117ed687cd697f280529f82

Contents?: true

Size: 446 Bytes

Versions: 11

Compression:

Stored size: 446 Bytes

Contents

import _Object$defineProperty from "../../core-js/object/define-property";
export default 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
  });
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/initializerDefineProperty.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime-corejs2/helpers/esm/initializerDefineProperty.js
condenser-0.0.4 lib/condenser/processors/node_modules/@babel/runtime/helpers/es6/initializerDefineProperty.js