We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d6bc1 commit 0621eecCopy full SHA for 0621eec
1 file changed
tests/lib/react.d.ts
@@ -27,7 +27,7 @@ declare namespace __React {
27
ref: string | ((element: Element) => any);
28
}
29
30
- interface ReactHTMLElement extends DOMElement<HTMLProps> {
+ interface ReactHTMLElement extends DOMElement<HTMLProps<HTMLElement>> {
31
ref: string | ((element: HTMLElement) => any);
32
33
@@ -51,7 +51,7 @@ declare namespace __React {
51
(props?: P, ...children: ReactNode[]): DOMElement<P>;
52
53
54
- type HTMLFactory = DOMFactory<HTMLProps>;
+ type HTMLFactory = DOMFactory<HTMLProps<HTMLElement>>;
55
type SVGFactory = DOMFactory<SVGProps>;
56
57
//
0 commit comments