examples/userlist/dist/bundle.js
function withDefault(type) {
	  return Object.defineProperty(type, 'def', {
	    value: function value(def) {
	      if (def === undefined && !this.default) {
	        return this;
	      }

	      if (!isFunction(def) && !validateType(this, def)) {
	        warn(this._vueTypes_name + " - invalid default value: \"" + def + "\"", def);
	        return this;
	      }

	      if (isArray(def)) {
	        this.default = function () {
	          return [].concat(def);
	        };
	      } else if (isPlainObject_1(def)) {
	        this.default = function () {
	          return Object.assign({}, def);
	        };
	      } else {
	        this.default = def;
	      }

	      return this;
	    },
	    enumerable: false,
	    writable: false
	  });
	}
function withDefault(type) {
	  return Object.defineProperty(type, 'def', {
	    value: function value(def) {
	      if (def === undefined && !this.default) {
	        return this;
	      }

	      if (!isFunction(def) && !validateType(this, def)) {
	        warn(this._vueTypes_name + " - invalid default value: \"" + def + "\"", def);
	        return this;
	      }

	      if (isArray(def)) {
	        this.default = function () {
	          return [].concat(def);
	        };
	      } else if (isPlainObject_1(def)) {
	        this.default = function () {
	          return Object.assign({}, def);
	        };
	      } else {
	        this.default = def;
	      }

	      return this;
	    },
	    enumerable: false,
	    writable: false
	  });
	}
Adds a `def` method to the object returning a new object with passed in argument as `default` property

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