dialog_widget: Fix 'onclick' event type.

This commit is contained in:
Varun Singh 2024-05-28 19:40:38 +05:30 committed by Tim Abbott
parent a2a735273b
commit 40953f7ada
1 changed files with 1 additions and 1 deletions

View File

@ -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;