Skip to content

Commit 68f9df2

Browse files
authored
Merge pull request #33670 from nextcloud/debt/noid/type-hints-confirm-destructive
Update typehint for confirmDestructive
2 parents bd7ab89 + f832db0 commit 68f9df2

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)