From 721c1cd04cceed63a03c00490fbffd4a8e25aefd Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Thu, 17 Apr 2025 13:54:09 +0200 Subject: [PATCH] no optional --- plugins/dialog/guest-js/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/dialog/guest-js/index.ts b/plugins/dialog/guest-js/index.ts index 9d5d9ed0..2130ec89 100644 --- a/plugins/dialog/guest-js/index.ts +++ b/plugins/dialog/guest-js/index.ts @@ -95,11 +95,11 @@ export type MessageDialogDefaultButtons = */ export type MessageDialogButtonsYesNoCancel = { /** The Yes button. */ - yes?: string + yes: string /** The No button. */ - no?: string + no: string /** The Cancel button. */ - cancel?: string + cancel: string } /** @@ -109,9 +109,9 @@ export type MessageDialogButtonsYesNoCancel = { */ export type MessageDialogButtonsOkCancel = { /** The Ok button. */ - ok?: string + ok: string /** The Cancel button. */ - cancel?: string + cancel: string } /** @@ -121,7 +121,7 @@ export type MessageDialogButtonsOkCancel = { */ export type MessageDialogButtonsOk = { /** The Ok button. */ - ok?: string + ok: string } /**