diff --git a/react/react.d.ts b/react/react.d.ts index 1383a33f02..05f763a9f1 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -10,6 +10,8 @@ export = React; declare module React { export function createClass
(specification: Specification
): ReactComponentFactory
; + export function createFactory
(clazz: ReactComponentFactory
): ReactComponentFactory
; + export function render
(component: ReactComponentElement
, container: Element, callback?: () => void): ReactComponentElement
; export function render(component: ReactHTMLElement, container: Element, callback?: () => void): ReactHTMLElement;