From 4bbd7803bd9f2faba8cb22333b763ed82d2549f0 Mon Sep 17 00:00:00 2001 From: Leonard Thieu Date: Mon, 26 Jun 2017 17:55:25 -0400 Subject: [PATCH] [angular][jquery] Workaround duplicate index signature. --- types/angular/jqlite.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/angular/jqlite.d.ts b/types/angular/jqlite.d.ts index 016411c848..7c8975b8bb 100644 --- a/types/angular/jqlite.d.ts +++ b/types/angular/jqlite.d.ts @@ -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; }