Skip to content

Commit

Permalink
[codestyle] Mark location and parser in JSDoc as optional (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennMatthys authored and lpinca committed Aug 5, 2018
1 parent 1c19d5a commit 4e14338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ function resolve(relative, base) {
*
* @constructor
* @param {String} address URL we want to parse.
* @param {Object|String} location Location defaults for relative paths.
* @param {Boolean|Function} parser Parser for the query string.
* @param {Object|String} [location] Location defaults for relative paths.
* @param {Boolean|Function} [parser] Parser for the query string.
* @private
*/
function Url(address, location, parser) {
Expand Down

0 comments on commit 4e14338

Please sign in to comment.