From 40953f7ada680ce18e8dbbccda8296902b3da55f Mon Sep 17 00:00:00 2001 From: Varun Singh Date: Tue, 28 May 2024 19:40:38 +0530 Subject: [PATCH] dialog_widget: Fix 'onclick' event type. --- web/src/dialog_widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/dialog_widget.ts b/web/src/dialog_widget.ts index b758376fce..05749e0131 100644 --- a/web/src/dialog_widget.ts +++ b/web/src/dialog_widget.ts @@ -61,7 +61,7 @@ function current_dialog_widget_selector(): string { export type DialogWidgetConfig = { html_heading: string; html_body: string; - on_click: (e: unknown) => void; + on_click: (e: JQuery.ClickEvent) => void; html_submit_button?: string; html_exit_button?: string; close_on_submit?: boolean;