mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Fix jQuery prop() definition and add some tests
This commit is contained in:
1 parent
e7ac778279
commit
02b302faa7
2 files changed
+19
-3
No files matched your search
Vendored
+1
-1
@@ -344,7 +344,7 @@ interface JQuery {
|
||||
html(htmlString: string): JQuery;
|
||||
html(): string;
|
||||
|
||||
prop(propertyName: string): string;
|
||||
prop(propertyName: string): bool;
|
||||
prop(propertyName: string, value: any): JQuery;
|
||||
prop(map: any): JQuery;
|
||||
prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;
|
||||
|
||||
Reference in new issue
Block a user