Missed some errors

This commit is contained in:
Ryan Cavanaugh
2015-11-12 13:17:52 -08:00
parent e5d6bc1561
commit 0621eecc9f

View File

@@ -27,7 +27,7 @@ declare namespace __React {
ref: string | ((element: Element) => any);
}
interface ReactHTMLElement extends DOMElement<HTMLProps> {
interface ReactHTMLElement extends DOMElement<HTMLProps<HTMLElement>> {
ref: string | ((element: HTMLElement) => any);
}
@@ -51,7 +51,7 @@ declare namespace __React {
(props?: P, ...children: ReactNode[]): DOMElement<P>;
}
type HTMLFactory = DOMFactory<HTMLProps>;
type HTMLFactory = DOMFactory<HTMLProps<HTMLElement>>;
type SVGFactory = DOMFactory<SVGProps>;
//