@@ -80,7 +80,7 @@ interface SaveDialogOptions {
80
80
/**
81
81
* Default buttons for a message dialog.
82
82
*
83
- * @since 2.3 .0
83
+ * @since 2.4 .0
84
84
*/
85
85
export type MessageDialogDefaultButtons =
86
86
| 'Ok'
@@ -91,7 +91,7 @@ export type MessageDialogDefaultButtons =
91
91
/**
92
92
* The Yes, No and Cancel buttons of a message dialog.
93
93
*
94
- * @since 2.3 .0
94
+ * @since 2.4 .0
95
95
*/
96
96
export type MessageDialogButtonsYesNoCancel = {
97
97
/** The Yes button. */
@@ -105,7 +105,7 @@ export type MessageDialogButtonsYesNoCancel = {
105
105
/**
106
106
* The Ok and Cancel buttons of a message dialog.
107
107
*
108
- * @since 2.3 .0
108
+ * @since 2.4 .0
109
109
*/
110
110
export type MessageDialogButtonsOkCancel = {
111
111
/** The Ok button. */
@@ -117,7 +117,7 @@ export type MessageDialogButtonsOkCancel = {
117
117
/**
118
118
* The Ok button of a message dialog.
119
119
*
120
- * @since 2.3 .0
120
+ * @since 2.4 .0
121
121
*/
122
122
export type MessageDialogButtonsOk = {
123
123
/** The Ok button. */
@@ -127,7 +127,7 @@ export type MessageDialogButtonsOk = {
127
127
/**
128
128
* Custom buttons for a message dialog.
129
129
*
130
- * @since 2.3 .0
130
+ * @since 2.4 .0
131
131
*/
132
132
export type MessageDialogCustomButtons =
133
133
| MessageDialogButtonsYesNoCancel
@@ -137,7 +137,7 @@ export type MessageDialogCustomButtons =
137
137
/**
138
138
* The buttons of a message dialog.
139
139
*
140
- * @since 2.3 .0
140
+ * @since 2.4 .0
141
141
*/
142
142
export type MessageDialogButtons =
143
143
| MessageDialogDefaultButtons
@@ -160,7 +160,7 @@ interface MessageDialogOptions {
160
160
/**
161
161
* The buttons of the dialog.
162
162
*
163
- * @since 2.3 .0
163
+ * @since 2.4 .0
164
164
*/
165
165
buttons ?: MessageDialogButtons
166
166
}
@@ -307,7 +307,7 @@ async function save(options: SaveDialogOptions = {}): Promise<string | null> {
307
307
* The result is a string if the dialog has custom buttons,
308
308
* otherwise it is one of the default buttons.
309
309
*
310
- * @since 2.3 .0
310
+ * @since 2.4 .0
311
311
*/
312
312
export type MessageDialogResult = 'Yes' | 'No' | 'Ok' | 'Cancel' | ( string & { } )
313
313
0 commit comments