From eeef424526f1f1115482931b334aa74bd7111edd Mon Sep 17 00:00:00 2001 From: dyst5422 Date: Sat, 3 Jun 2017 09:10:23 -0700 Subject: [PATCH] Add animateTransform SVG element to JSX.IntrinsicElements The animateTransform SVG element was missing from JSX.IntrinsicElements. Like the SVG animate element, this will need to be refined when TypeScript's lib.dom.d.ts is updated to include SVGAnimateTransformElement. --- types/react/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 979870febb..49d1e0b435 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2857,6 +2857,7 @@ declare global { svg: React.SVGProps; animate: React.SVGProps; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now. + animateTransform: React.SVGProps; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now. circle: React.SVGProps; clipPath: React.SVGProps; defs: React.SVGProps;