From ff1361957df58ef92c8a9dfce40c6091ea3a21d4 Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Sat, 4 Feb 2017 16:15:33 +0100 Subject: doc: consistent case for primitive types PR-URL: https://github.com/nodejs/node/pull/11167 Reviewed-By: Timothy Gu Reviewed-By: James M Snell Reviewed-By: Joyee Cheung --- doc/api/querystring.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/api/querystring.md') diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 5b913c1a68..c3ee69c6a8 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -16,7 +16,7 @@ const querystring = require('querystring'); added: v0.1.25 --> -* `str` {String} +* `str` {string} The `querystring.escape()` method performs URL percent-encoding on the given `str` in a manner that is optimized for the specific requirements of URL @@ -42,10 +42,10 @@ changes: description: The `eq` parameter may now have a length of more than `1`. --> -* `str` {String} The URL query string to parse -* `sep` {String} The substring used to delimit key and value pairs in the +* `str` {string} The URL query string to parse +* `sep` {string} The substring used to delimit key and value pairs in the query string. Defaults to `'&'`. -* `eq` {String}. The substring used to delimit keys and values in the +* `eq` {string}. The substring used to delimit keys and values in the query string. Defaults to `'='`. * `options` {Object} * `decodeURIComponent` {Function} The function to use when decoding @@ -89,9 +89,9 @@ added: v0.1.25 --> * `obj` {Object} The object to serialize into a URL query string -* `sep` {String} The substring used to delimit key and value pairs in the +* `sep` {string} The substring used to delimit key and value pairs in the query string. Defaults to `'&'`. -* `eq` {String}. The substring used to delimit keys and values in the +* `eq` {string}. The substring used to delimit keys and values in the query string. Defaults to `'='`. * `options` * `encodeURIComponent` {Function} The function to use when converting @@ -127,7 +127,7 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null, -* `str` {String} +* `str` {string} The `querystring.unescape()` method performs decoding of URL percent-encoded -- cgit v1.2.3