diff options
Diffstat (limited to 'core/src/OC')
-rw-r--r-- | core/src/OC/legacy-loader.js | 1 | ||||
-rw-r--r-- | core/src/OC/menu.js | 1 | ||||
-rw-r--r-- | core/src/OC/notification.js | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/core/src/OC/legacy-loader.js b/core/src/OC/legacy-loader.js index 07efbef0fc6..66687cf4de9 100644 --- a/core/src/OC/legacy-loader.js +++ b/core/src/OC/legacy-loader.js @@ -22,6 +22,7 @@ * */ +/** @typedef {import('jquery')} jQuery */ import $ from 'jquery' import { generateFilePath } from '@nextcloud/router' diff --git a/core/src/OC/menu.js b/core/src/OC/menu.js index 9522650c472..74d1b179ea8 100644 --- a/core/src/OC/menu.js +++ b/core/src/OC/menu.js @@ -23,6 +23,7 @@ */ import _ from 'underscore' +/** @typedef {import('jquery')} jQuery */ import $ from 'jquery' import { menuSpeed } from './constants' diff --git a/core/src/OC/notification.js b/core/src/OC/notification.js index 74499d5241b..f8c8feccd3c 100644 --- a/core/src/OC/notification.js +++ b/core/src/OC/notification.js @@ -26,6 +26,7 @@ */ import _ from 'underscore' +/** @typedef {import('jquery')} jQuery */ import $ from 'jquery' import { showMessage, TOAST_DEFAULT_TIMEOUT, TOAST_PERMANENT_TIMEOUT } from '@nextcloud/dialogs' @@ -162,7 +163,7 @@ export default { * @param {number} [options.timeout=7] timeout in seconds, if this is 0 it will show the message permanently * @param {boolean} [options.isHTML=false] an indicator for HTML notifications (true) or text (false) * @param {string} [options.type] notification type - * @return {JQuery<any>} the toast element + * @return {JQuery} the toast element * @deprecated 17.0.0 use the `@nextcloud/dialogs` package */ showTemporary(text, options) { |