aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/files
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 14:06:28 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-11 17:12:55 +0100
commitd92cbf51493f0aa15745d2f9545cba2372eecec3 (patch)
tree349a555a74c99b40c20fcc470c26b7f7c0029f8d /core/src/files
parent7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff)
downloadnextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.tar.gz
nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.zip
Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src/files')
-rw-r--r--core/src/files/client.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/files/client.js b/core/src/files/client.js
index 679457e38cf..9c39096ac69 100644
--- a/core/src/files/client.js
+++ b/core/src/files/client.js
@@ -42,7 +42,7 @@ import escapeHTML from 'escape-html'
*
* @param {Object} options
* @param {String} options.host host name
- * @param {int} [options.port] port
+ * @param {number} [options.port] port
* @param {boolean} [options.useHTTPS] whether to use https
* @param {String} [options.root] root path
* @param {String} [options.userName] user name
@@ -449,7 +449,7 @@ import escapeHTML from 'escape-html'
/**
* Returns whether the given status code means success
*
- * @param {int} status status code
+ * @param {number} status status code
*
* @returns true if status code is between 200 and 299 included
*/
@@ -546,7 +546,7 @@ import escapeHTML from 'escape-html'
*
* @param {Object} filter filter criteria
* @param {Object} [filter.systemTagIds] list of system tag ids to filter by
- * @param {bool} [filter.favorite] set it to filter by favorites
+ * @param {boolean} [filter.favorite] set it to filter by favorites
* @param {Object} [options] options
* @param {Array} [options.properties] list of Webdav properties to retrieve
*
@@ -698,7 +698,7 @@ import escapeHTML from 'escape-html'
* @param {String} body file body
* @param {Object} [options]
* @param {String} [options.contentType='text/plain'] content type
- * @param {bool} [options.overwrite=true] whether to overwrite an existing file
+ * @param {boolean} [options.overwrite=true] whether to overwrite an existing file
*
* @returns {Promise}
*/