Fix jQuery definiitions

This commit is contained in:
Boris Yankov
2012-11-02 04:44:34 +02:00
parent 3dff101e1d
commit 31fc713271

View File

@@ -200,6 +200,7 @@ interface JQueryStatic {
(elementArray: Element[]): JQuery;
(object: JQuery): JQuery;
(func: Function): JQuery;
(array: any[]): JQuery;
(): JQuery;
noConflict(removeAll?: bool): Object;
@@ -326,7 +327,7 @@ interface JQuery {
ATTRIBUTES
***********/
addClass(classNames: string): JQuery;
addClass(func: (index: any, currentClass: any) => JQuery);
addClass(func: (index: any, currentClass?: any) => string): JQuery;
attr(attributeName: string): string;
attr(attributeName: string, value: any): JQuery;