From 7f510aabff7296c1fce621db180fedbeac0e8565 Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Wed, 11 Apr 2018 08:45:16 -0700 Subject: [PATCH] [React] Remove string index fallback for CSS properties (resolves #24568) --- types/react/index.d.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index b4c350e7d78639..55faaefd3d6667 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -898,11 +898,7 @@ declare namespace React { onTransitionEndCapture?: TransitionEventHandler; } - export interface CSSProperties extends CSS.Properties { - // The string index signature fallback is needed at least until csstype - // provides SVG CSS properties: https://github.com/frenic/csstype/issues/4 - [propertyName: string]: any; - } + export interface CSSProperties extends CSS.Properties {} interface HTMLAttributes extends DOMAttributes { // React-specific Attributes