diff --git a/jqueryui/jqueryui.d.ts b/jqueryui/jqueryui.d.ts index 5cd04f22d9..d5e60cd0de 100644 --- a/jqueryui/jqueryui.d.ts +++ b/jqueryui/jqueryui.d.ts @@ -341,7 +341,7 @@ declare module JQueryUI { interface DialogOptions extends DialogEvents { autoOpen?: boolean; - buttons?: { [buttonText: string]: () => void } | ButtonOptions[]; + buttons?: { [buttonText: string]: (event?: Event) => void } | ButtonOptions[]; closeOnEscape?: boolean; closeText?: string; dialogClass?: string;