@@ -202,12 +202,12 @@ The formatting process operates as follows:
202
202
added: v0.1.25
203
203
-->
204
204
205
- * ` urlString ` {string } The URL string to parse.
206
- * ` parseQueryString ` {boolean } If ` true ` , the ` query ` property will always
205
+ * ` urlString ` {String } The URL string to parse.
206
+ * ` parseQueryString ` {Boolean } If ` true ` , the ` query ` property will always
207
207
be set to an object returned by the [ ` querystring ` ] [ ] module's ` parse() `
208
208
method. If ` false ` , the ` query ` property on the returned URL object will be an
209
209
unparsed, undecoded string. Defaults to ` false ` .
210
- * ` slashesDenoteHost ` {boolean } If ` true ` , the first token after the literal
210
+ * ` slashesDenoteHost ` {Boolean } If ` true ` , the first token after the literal
211
211
string ` // ` and preceding the next ` / ` will be interpreted as the ` host ` .
212
212
For instance, given ` //foo/bar ` , the result would be
213
213
` {host: 'foo', pathname: '/bar'} ` rather than ` {pathname: '//foo/bar'} ` .
@@ -221,8 +221,8 @@ object.
221
221
added: v0.1.25
222
222
-->
223
223
224
- * ` from ` {string } The Base URL being resolved against.
225
- * ` to ` {string } The HREF URL being resolved.
224
+ * ` from ` {String } The Base URL being resolved against.
225
+ * ` to ` {String } The HREF URL being resolved.
226
226
227
227
The ` url.resolve() ` method resolves a target URL relative to a base URL in a
228
228
manner similar to that of a Web browser resolving an anchor tag HREF.
0 commit comments