diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-08-24 12:19:42 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-08-24 12:56:41 +0200 |
commit | f832db08011da95b330e65cb0840c6597cc777e0 (patch) | |
tree | 92613d2fe40f506180ebe2b250c131bba3f02309 /core | |
parent | 03c8bf70674574146fbdbd86423161a3fe9a5136 (diff) | |
download | nextcloud-server-f832db08011da95b330e65cb0840c6597cc777e0.tar.gz nextcloud-server-f832db08011da95b330e65cb0840c6597cc777e0.zip |
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/OC/dialogs.js | 2 |
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} |