UNPKG

apollo-client-cors-hack

Version:

A simple yet functional GraphQL client.

16 lines 457 B
export function assign(target) { var sources = []; for (var _i = 1; _i < arguments.length; _i++) { sources[_i - 1] = arguments[_i]; } sources.forEach(function (source) { if (typeof (source) === 'undefined' || source === null) { return; } Object.keys(source).forEach(function (key) { target[key] = source[key]; }); }); return target; } //# sourceMappingURL=assign.js.map