From 744a89c4b12aa6537bcc39e7581d291dc74a4c3a Mon Sep 17 00:00:00 2001 From: glatzert Date: Thu, 25 Feb 2016 10:28:51 +0100 Subject: [PATCH] Updated interface HTMLAttributes The explicit form of the indexer `[key: string]: string | string[] | boolean | number | EventHandler | CSSProperties | {__html: string};` Fails in TravisCI - so any is currently the way to go. --- react/react.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/react.d.ts b/react/react.d.ts index c51085fb9..cadae5cb0 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -1845,7 +1845,7 @@ declare namespace __React { unselectable?: boolean; // Allows aria- and data- Attributes - [key: string]: string | string[] | boolean | number | EventHandler | CSSProperties | {__html: string}; + [key: string]: any; } interface SVGAttributes extends HTMLAttributes {