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
path: root/core
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2022-08-24 13:19:42 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2022-08-24 13:56:41 +0300
commitf832db08011da95b330e65cb0840c6597cc777e0 (patch)
tree92613d2fe40f506180ebe2b250c131bba3f02309 /core
parent03c8bf70674574146fbdbd86423161a3fe9a5136 (diff)
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r--core/src/OC/dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 2570586c6cf..83f391fc99c 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -118,7 +118,7 @@ const Dialogs = {
* displays confirmation dialog
* @param {string} text content of dialog
* @param {string} title dialog title
- * @param {{type: Int, confirm: String, cancel: String, confirmClasses: String}} buttons text content of buttons
+ * @param {(number|{type: number, confirm: string, cancel: string, confirmClasses: string})} buttons text content of buttons
* @param {function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)
* @param {boolean} [modal] make the dialog modal
* @returns {Promise}