From d93b846ef26cf417d8760bc62b33ec42ba948401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Helfensd=C3=B6rfer?= Date: Mon, 30 Jan 2017 19:49:19 +0100 Subject: [PATCH] Update index.d.ts --- jquery.noty/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery.noty/index.d.ts b/jquery.noty/index.d.ts index c85db008fa..f4bfe4bcb9 100644 --- a/jquery.noty/index.d.ts +++ b/jquery.noty/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for jQuery.noty v2.0 +// Type definitions for jQuery.noty v2.4 // Project: http://needim.github.io/noty/ -// Definitions by: Aaron King +// Definitions by: Aaron King , Tim Helfensdörfer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Project by: Nedim Carter @@ -26,8 +26,8 @@ interface NotyOptions { progressBar?: boolean; animation?: NotyAnimationOptions; - /** ['click', 'button', 'hover', 'backdrop'] // backdrop click will close all notifications */ - closeWith?: any[]; + /** backdrop click will close all notifications */ + closeWith?: ('click' | 'button' | 'hover' | 'backdrop')[]; /** if true adds an overlay */ modal?: boolean;