Merge pull request #33670 from nextcloud/debt/noid/type-hints-confirm-destructive

Update typehint for confirmDestructive
This commit is contained in:
Louis 2022-08-24 14:58:36 +02:00 committed by GitHub
commit 68f9df2891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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