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;