text: /* eslint no-restricted-syntax: 0 */
  const extend = (target, ...sources) => {
      if (target === undefined || target === null) {
          throw new TypeError('Cannot convert undefined or null to object');
      }
  
      const output = Object(target);
      for (let index = 0; index < sources.length; index++) {
          const source = sources[index];
          if (source !== undefined && source !== null) {
              for (let key in source) {
                  if (source.hasOwnProperty(key)) {
                      output[key] = source[key];
                  }
              }
          }
      }
      return output;
  };
  
  export default extend;
  