added jquery dependency and enhanced interface

This commit is contained in:
unknown
2015-01-22 11:05:42 +01:00
parent 8f88052a53
commit 1dab5f7be3
+7 -2
View File
@@ -3,12 +3,15 @@
// Definitions by: Louis Grignon <https://github.com/lgrignon>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts"/>
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 {