We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a48070 commit 058573cCopy full SHA for 058573c
compat/src/index.d.ts
@@ -87,7 +87,8 @@ declare namespace React {
87
extends JSXInternal.SVGAttributes<T>,
88
preact.ClassAttributes<T> {}
89
90
- interface SVGAttributes extends JSXInternal.SVGAttributes {}
+ interface SVGAttributes<T extends EventTarget = SVGElement>
91
+ extends JSXInternal.SVGAttributes<T> {}
92
93
interface ReactSVG extends JSXInternal.IntrinsicSVGElements {}
94
0 commit comments