aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-01-12 15:48:36 +0100
committerGitHub <noreply@github.com>2022-01-12 15:48:36 +0100
commit2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch)
treef327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/files/js/files.js
parentdb9fbc93072049b8816a683ca015ba53976db03a (diff)
parentbfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff)
downloadnextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz
nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 4de3fb4352f..03778fb92f9 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -219,7 +219,7 @@
* Returns the download URL of the given file(s)
* @param {string} filename string or array of file names to download
* @param {string} [dir] optional directory in which the file name is, defaults to the current directory
- * @param {bool} [isDir=false] whether the given filename is a directory and might need a special URL
+ * @param {boolean} [isDir=false] whether the given filename is a directory and might need a special URL
*/
getDownloadUrl: function(filename, dir, isDir) {
if (!_.isArray(filename) && !isDir) {
@@ -271,8 +271,8 @@
/**
* Generates a preview URL based on the URL space.
* @param urlSpec attributes for the URL
- * @param {int} urlSpec.x width
- * @param {int} urlSpec.y height
+ * @param {number} urlSpec.x width
+ * @param {number} urlSpec.y height
* @param {String} urlSpec.file path to the file
* @return preview URL
* @deprecated used OCA.Files.FileList.generatePreviewUrl instead