@@ -80,7 +80,7 @@ interface SaveDialogOptions {
8080/**
8181 * Default buttons for a message dialog.
8282 *
83- * @since 2.3 .0
83+ * @since 2.4 .0
8484 */
8585export type MessageDialogDefaultButtons =
8686 | 'Ok'
@@ -91,7 +91,7 @@ export type MessageDialogDefaultButtons =
9191/**
9292 * The Yes, No and Cancel buttons of a message dialog.
9393 *
94- * @since 2.3 .0
94+ * @since 2.4 .0
9595 */
9696export type MessageDialogButtonsYesNoCancel = {
9797 /** The Yes button. */
@@ -105,7 +105,7 @@ export type MessageDialogButtonsYesNoCancel = {
105105/**
106106 * The Ok and Cancel buttons of a message dialog.
107107 *
108- * @since 2.3 .0
108+ * @since 2.4 .0
109109 */
110110export type MessageDialogButtonsOkCancel = {
111111 /** The Ok button. */
@@ -117,7 +117,7 @@ export type MessageDialogButtonsOkCancel = {
117117/**
118118 * The Ok button of a message dialog.
119119 *
120- * @since 2.3 .0
120+ * @since 2.4 .0
121121 */
122122export type MessageDialogButtonsOk = {
123123 /** The Ok button. */
@@ -127,7 +127,7 @@ export type MessageDialogButtonsOk = {
127127/**
128128 * Custom buttons for a message dialog.
129129 *
130- * @since 2.3 .0
130+ * @since 2.4 .0
131131 */
132132export type MessageDialogCustomButtons =
133133 | MessageDialogButtonsYesNoCancel
@@ -137,7 +137,7 @@ export type MessageDialogCustomButtons =
137137/**
138138 * The buttons of a message dialog.
139139 *
140- * @since 2.3 .0
140+ * @since 2.4 .0
141141 */
142142export type MessageDialogButtons =
143143 | MessageDialogDefaultButtons
@@ -160,7 +160,7 @@ interface MessageDialogOptions {
160160 /**
161161 * The buttons of the dialog.
162162 *
163- * @since 2.3 .0
163+ * @since 2.4 .0
164164 */
165165 buttons ?: MessageDialogButtons
166166}
@@ -307,7 +307,7 @@ async function save(options: SaveDialogOptions = {}): Promise<string | null> {
307307 * The result is a string if the dialog has custom buttons,
308308 * otherwise it is one of the default buttons.
309309 *
310- * @since 2.3 .0
310+ * @since 2.4 .0
311311 */
312312export type MessageDialogResult = 'Yes' | 'No' | 'Ok' | 'Cancel' | ( string & { } )
313313
0 commit comments