examples/userlist/dist/bundle.js
function withRequired(type) {
	  return Object.defineProperty(type, 'isRequired', {
	    get: function get() {
	      this.required = true;
	      return this;
	    },
	    enumerable: false
	  });
	}
function withRequired(type) {
	  return Object.defineProperty(type, 'isRequired', {
	    get: function get() {
	      this.required = true;
	      return this;
	    },
	    enumerable: false
	  });
	}
Adds a `isRequired` getter returning a new object with `required: true` key-value

@param {object} type - Object to enhance
@returns {object} the passed-in prop type