code: function toTypeRefNames() {
      for (var _len2 = arguments.length, types = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
        types[_key2] = arguments[_key2];
      }
  
      return types.map(toTypeRefName);
    }
docs: Resolves/normalizes a type name from either a string or a constructor.
  @function module:object.toTypeRef
  @param type {Function|String} - String or function representing a type.
  @returns {String}
  @todo write tests for this function.