mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[angular][jquery] Workaround duplicate index signature.
This commit is contained in:
Vendored
+2
-2
@@ -169,7 +169,7 @@ interface JQuery {
|
||||
* @param properties An object of property-value pairs to set.
|
||||
* @see {@link https://api.jquery.com/css/#css-properties}
|
||||
*/
|
||||
css(properties: JQueryCssProperties): JQuery;
|
||||
css(properties: JQLiteCssProperties): JQuery;
|
||||
|
||||
/**
|
||||
* Store arbitrary data associated with the matched elements.
|
||||
@@ -799,6 +799,6 @@ interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObjec
|
||||
interface cssPropertySetter {
|
||||
(index: number, value?: string): string | number;
|
||||
}
|
||||
interface JQueryCssProperties {
|
||||
interface JQLiteCssProperties {
|
||||
[propertyName: string]: string | number | cssPropertySetter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user