summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 14:55:59 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-11 17:13:08 +0100
commit37e5050d69b1a6e8be83abc168f4b8a7e2ef3085 (patch)
tree8ebe491bd7b5959ba352f69be5147a27d6a76fc5 /apps/comments
parent9fc6cc96346a0a5ef4a997741d9b3b0f9a9aabbe (diff)
downloadnextcloud-server-37e5050d69b1a6e8be83abc168f4b8a7e2ef3085.tar.gz
nextcloud-server-37e5050d69b1a6e8be83abc168f4b8a7e2ef3085.zip
Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/src/activitytabviewplugin.js2
-rw-r--r--apps/comments/src/utils/cancelableRequest.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/comments/src/activitytabviewplugin.js b/apps/comments/src/activitytabviewplugin.js
index d4590886b2c..fbf65ea16e3 100644
--- a/apps/comments/src/activitytabviewplugin.js
+++ b/apps/comments/src/activitytabviewplugin.js
@@ -21,6 +21,8 @@
*
*/
+/** @typedef {import('jquery')} jQuery */
+
(function() {
OCA.Comments.ActivityTabViewPlugin = {
diff --git a/apps/comments/src/utils/cancelableRequest.js b/apps/comments/src/utils/cancelableRequest.js
index 1b9b33c37dc..7e956d6cfc3 100644
--- a/apps/comments/src/utils/cancelableRequest.js
+++ b/apps/comments/src/utils/cancelableRequest.js
@@ -25,7 +25,7 @@ import axios from '@nextcloud/axios'
/**
* Create a cancel token
*
- * @return {CancelTokenSource}
+ * @return {import('axios').CancelTokenSource}
*/
const createCancelToken = () => axios.CancelToken.source()