diff --git a/jquery.jnotify/jquery.jnotify.d.ts b/jquery.jnotify/jquery.jnotify.d.ts new file mode 100644 index 000000000..c47195588 --- /dev/null +++ b/jquery.jnotify/jquery.jnotify.d.ts @@ -0,0 +1,29 @@ +// Typescript type definitions for jQuery.jNotify v1 by Fabio Franzini +// Project: http://jnotify.codeplex.com +// Definitions by: James Curran +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +// To Use add line /// + + +export interface JNotifyInitOptions + { + oneAtTime:bool; + appendType:string; + } + +export interface JNotifyOptions + { + text?:string; + type?: string; + showIcon? : bool; + permanent?: bool; + disappearTime?: number; + } + +interface JQuery + { + jnotifyInizialize(options?: JNotifyInitOptions ) ; + jnotifyAddMessage(options?: JNotifyOptions ) ; + } +