From 950702a24738865923d0a935a81df69ac7bfaaf8 Mon Sep 17 00:00:00 2001 From: yubonluo Date: Sun, 29 Sep 2024 20:57:42 +0800 Subject: [PATCH] optimize the code Signed-off-by: yubonluo --- src/core/public/application/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/public/application/types.ts b/src/core/public/application/types.ts index fdbf8a032c20..53d190006a5e 100644 --- a/src/core/public/application/types.ts +++ b/src/core/public/application/types.ts @@ -625,6 +625,7 @@ export interface AppLeaveActionFactory { * * @param text The text to display in the confirmation message * @param title (optional) title to display in the confirmation message + * @param callback (optional) function to execute in the confirmation message */ confirm(text: string, title?: string, callback?: () => void): AppLeaveConfirmAction; /**