Skip to content

Commit 182dd1f

Browse files
committed
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 4a77a68 commit 182dd1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/OC/dialogs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const Dialogs = {
118118
* displays confirmation dialog
119119
* @param {string} text content of dialog
120120
* @param {string} title dialog title
121-
* @param {{type: Int, confirm: String, cancel: String, confirmClasses: String}} buttons text content of buttons
121+
* @param {(number|{type: number, confirm: string, cancel: string, confirmClasses: string})} buttons text content of buttons
122122
* @param {function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)
123123
* @param {boolean} [modal] make the dialog modal
124124
* @returns {Promise}

0 commit comments

Comments
 (0)