From d92cbf51493f0aa15745d2f9545cba2372eecec3 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 10 Jan 2022 14:06:28 +0100 Subject: Typing corrections Signed-off-by: Louis Chemineau --- apps/files/js/files.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files/js/files.js') 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 -- cgit v1.2.3