mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #274 from tasoili/master
I've updated some return types to match the jQuery spec
This commit is contained in:
Vendored
+6
-6
@@ -378,7 +378,7 @@ interface JQuery {
|
||||
html(htmlString: string): JQuery;
|
||||
html(htmlContent: (index: number, oldhtml: string) => string): JQuery;
|
||||
|
||||
prop(propertyName: string): any;
|
||||
prop(propertyName: string): string;
|
||||
prop(propertyName: string, value: any): JQuery;
|
||||
prop(map: any): JQuery;
|
||||
prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;
|
||||
@@ -403,11 +403,11 @@ interface JQuery {
|
||||
/***
|
||||
CSS
|
||||
****/
|
||||
css(propertyName: string): any;
|
||||
css(propertyNames: string[]): any;
|
||||
css(properties: any): any;
|
||||
css(propertyName: string, value: any): any;
|
||||
css(propertyName: any, value: any): any;
|
||||
css(propertyName: string): string;
|
||||
css(propertyNames: string[]): string;
|
||||
css(properties: any): JQuery;
|
||||
css(propertyName: string, value: any): JQuery;
|
||||
css(propertyName: any, value: any): JQuery;
|
||||
|
||||
height(): number;
|
||||
height(value: number): JQuery;
|
||||
|
||||
Reference in New Issue
Block a user