From e12cbe7d2c3ea4079af2f33aca7a07d73a33e381 Mon Sep 17 00:00:00 2001 From: slozier Date: Mon, 24 Aug 2015 13:59:06 -0400 Subject: [PATCH] Update type of DialogOptions.buttons Add event argument to DialogOptions.buttons callback. --- jqueryui/jqueryui.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;