mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
Since TS 0.9.5, "{ [key: string]: any; }" does not map to literal objects anymore.
Accepting "any" is then required to accept object maps in attrs(). This shouldn't affect 0.9x.
This commit is contained in:
Vendored
+1
-1
@@ -647,8 +647,8 @@ interface JQuery {
|
||||
|
||||
attr(attributeName: string): string;
|
||||
attr(attributeName: string, value: any): JQuery;
|
||||
attr(map: { [key: string]: any; }): JQuery;
|
||||
attr(attributeName: string, func: (index: any, attr: any) => any): JQuery;
|
||||
attr(map: any): JQuery;
|
||||
|
||||
hasClass(className: string): boolean;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user