Skip to content

Commit 721c1cd

Browse files
authored
no optional
1 parent 7bb5418 commit 721c1cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/dialog/guest-js/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ export type MessageDialogDefaultButtons =
9595
*/
9696
export type MessageDialogButtonsYesNoCancel = {
9797
/** The Yes button. */
98-
yes?: string
98+
yes: string
9999
/** The No button. */
100-
no?: string
100+
no: string
101101
/** The Cancel button. */
102-
cancel?: string
102+
cancel: string
103103
}
104104

105105
/**
@@ -109,9 +109,9 @@ export type MessageDialogButtonsYesNoCancel = {
109109
*/
110110
export type MessageDialogButtonsOkCancel = {
111111
/** The Ok button. */
112-
ok?: string
112+
ok: string
113113
/** The Cancel button. */
114-
cancel?: string
114+
cancel: string
115115
}
116116

117117
/**
@@ -121,7 +121,7 @@ export type MessageDialogButtonsOkCancel = {
121121
*/
122122
export type MessageDialogButtonsOk = {
123123
/** The Ok button. */
124-
ok?: string
124+
ok: string
125125
}
126126

127127
/**

0 commit comments

Comments
 (0)