Update typehint for confirmDestructive

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2022-08-24 12:19:42 +02:00
parent 03c8bf7067
commit f832db0801
No known key found for this signature in database
GPG key ID: 36E3664E099D0614
3 changed files with 3 additions and 3 deletions

View file

@ -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}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long