From 5a7ad344d10e8fdc8fa9dcb7ef2c873e3e966e20 Mon Sep 17 00:00:00 2001 From: Anton Cholakov Date: Fri, 9 Jun 2017 00:50:41 +0300 Subject: [PATCH] Add confirm property in PNotifyOptions (#17043) Use PNotifyconfirm interface as a type for confirm property in the PNotifyOptions --- types/jquery.pnotify/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/jquery.pnotify/index.d.ts b/types/jquery.pnotify/index.d.ts index 1d222efb26..3355f889ce 100644 --- a/types/jquery.pnotify/index.d.ts +++ b/types/jquery.pnotify/index.d.ts @@ -133,6 +133,10 @@ interface PNotifyOptions { * Whether to escape the content of the text. (Not allow HTML.) */ text_escape?: boolean; + /** + * Support for PNotifyconfirm options + */ + confirm?: PNotifyconfirm /** * What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", "fontawesome" or a custom style object) */