mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Fix jQuery definiitions
This commit is contained in:
3
Definitions/jquery-1.8.d.ts
vendored
3
Definitions/jquery-1.8.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user