Sha256: a647eef825ac36c5eb49fe20b5c95cc8f8e32471b4ef0d320bdf509c040b6fd9

Contents?: true

Size: 369 Bytes

Versions: 86

Compression:

Stored size: 369 Bytes

Contents

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

86 entries across 85 versions & 14 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
decidim-0.26.8 packages/eslint-config/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
reed_sdk-1.0.1 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
reed_sdk-1.0.0 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js