Skip to content

Commit f832db0

Browse files
committed
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 03c8bf7 commit f832db0

3 files changed

Lines changed: 3 additions & 3 deletions

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}

dist/core-login.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)