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 --- core/src/OCP/collaboration.js | 2 +- core/src/OCP/comments.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/OCP') diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js index 129440033e3..aae0c943f37 100644 --- a/core/src/OCP/collaboration.js +++ b/core/src/OCP/collaboration.js @@ -25,7 +25,7 @@ import escapeHTML from 'escape-html' /** * @typedef TypeDefinition - * @function {callback} action This action is executed to let the user select a resource + * @function {Function} action This action is executed to let the user select a resource * @param {string} icon Contains the icon css class for the type * @function Object() { [native code] } */ diff --git a/core/src/OCP/comments.js b/core/src/OCP/comments.js index 9f30557d231..0817302c067 100644 --- a/core/src/OCP/comments.js +++ b/core/src/OCP/comments.js @@ -26,7 +26,7 @@ import $ from 'jquery' /* * Detects links: * Either the http(s) protocol is given or two strings, basically limited to ascii with the last - * word being at least one digit long, + * word being at least one digit long, * followed by at least another character * * The downside: anything not ascii is excluded. Not sure how common it is in areas using different -- cgit v1.2.3