diff --git a/jquery.pnotify/jquery.pnotify-2.x.d.ts b/jquery.pnotify/jquery.pnotify-2.x.d.ts index 58dec29f0..167afcf23 100644 --- a/jquery.pnotify/jquery.pnotify-2.x.d.ts +++ b/jquery.pnotify/jquery.pnotify-2.x.d.ts @@ -3,12 +3,15 @@ // Definitions by: Louis Grignon // Definitions: https://github.com/borisyankov/DefinitelyTyped +/// + interface PNotifyStack { dir1?: string; dir2?: string; push?: string; spacing1?: number; spacing2?: number; + context?: JQuery } interface PNotifyLabel { @@ -161,8 +164,10 @@ interface PNotifyOptions { } interface PNotify { - update(options?: PNotifyOptions); - remove(); + elem: JQuery; + + update(options?: PNotifyOptions): void; + remove(): void; } interface PNotifyConstructor {