node_modules.core-js.modules._object-define.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-client-maven-plugin Show documentation
Show all versions of apollo-client-maven-plugin Show documentation
Maven plugin for generating graphql clients
var dP = require('./_object-dp');
var gOPD = require('./_object-gopd');
var ownKeys = require('./_own-keys');
var toIObject = require('./_to-iobject');
module.exports = function define(target, mixin) {
var keys = ownKeys(toIObject(mixin));
var length = keys.length;
var i = 0;
var key;
while (length > i) dP.f(target, key = keys[i++], gOPD.f(mixin, key));
return target;
};