Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 16:16:47 +0300
committerLouis Chemineau <louis@chmn.me>2022-01-11 19:13:04 +0300
commit9fc6cc96346a0a5ef4a997741d9b3b0f9a9aabbe (patch)
tree849ea6916ae25665bd1436a2d87db961ca67344d /apps/comments
parentd92cbf51493f0aa15745d2f9545cba2372eecec3 (diff)
Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/src/services/GetComments.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/comments/src/services/GetComments.js b/apps/comments/src/services/GetComments.js
index bfce1bf9f9b..71cde8922f5 100644
--- a/apps/comments/src/services/GetComments.js
+++ b/apps/comments/src/services/GetComments.js
@@ -65,8 +65,8 @@ export default async function({ commentsType, ressourceId }, options = {}) {
// https://github.com/perry-mitchell/webdav-client/blob/9de2da4a2599e06bd86c2778145b7ade39fe0b3c/source/interface/directoryContents.js#L32
/**
- * @param result
- * @param isDetailed
+ * @param {any} result -
+ * @param {any} isDetailed -
*/
function processMultistatus(result, isDetailed = false) {
// Extract the response items (directory contents)
@@ -91,8 +91,8 @@ function processMultistatus(result, isDetailed = false) {
}
/**
- * @param value
- * @param passes
+ * @param {any} value -
+ * @param {any} passes -
*/
function decodeHtmlEntities(value, passes = 1) {
const parser = new DOMParser()