graphql-transformer-core
Version:
A framework to transform from GraphQL SDL to AWS cloudFormation.
23 lines • 854 B
JavaScript
if (typeof Object.assign !== 'function') {
(function () {
Object.assign = function (target) {
'use strict';
if (target === undefined || target === null) {
throw new TypeError('Cannot convert undefined or null to object');
}
let output = Object(target);
for (let index = 1; index < arguments.length; index++) {
let source = arguments[index];
if (source !== undefined && source !== null) {
for (let nextKey in source) {
if (source.hasOwnProperty(nextKey)) {
output[nextKey] = source[nextKey];
}
}
}
}
return output;
};
})();
}
//# sourceMappingURL=Object.assign.js.map