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 1 additions and 1 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}

BIN
dist/core-login.js.map vendored

Binary file not shown.

BIN
dist/core-main.js.map vendored

Binary file not shown.