Skip to content

Commit 0621eec

Browse files
committed
Missed some errors
1 parent e5d6bc1 commit 0621eec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/lib/react.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare namespace __React {
2727
ref: string | ((element: Element) => any);
2828
}
2929

30-
interface ReactHTMLElement extends DOMElement<HTMLProps> {
30+
interface ReactHTMLElement extends DOMElement<HTMLProps<HTMLElement>> {
3131
ref: string | ((element: HTMLElement) => any);
3232
}
3333

@@ -51,7 +51,7 @@ declare namespace __React {
5151
(props?: P, ...children: ReactNode[]): DOMElement<P>;
5252
}
5353

54-
type HTMLFactory = DOMFactory<HTMLProps>;
54+
type HTMLFactory = DOMFactory<HTMLProps<HTMLElement>>;
5555
type SVGFactory = DOMFactory<SVGProps>;
5656

5757
//

0 commit comments

Comments
 (0)