diff --git a/react/react.d.ts b/react/react.d.ts index 3eaa868fe..70608cf44 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -93,7 +93,7 @@ declare module React { interface TopLevelAPI { createClass
(spec: ComponentSpec
): ComponentClass
; createElement
(type: any/*ReactType*/, props: P, ...children: any/*ReactNode*/[]): ReactElement
; - createFactory
(type: any/*ReactType*/): Factory
; + createFactory
(componentClass: ComponentClass
): Factory
; render
(element: ReactElement
, container: Element, callback?: () => void): ElementInstance
;
unmountComponentAtNode(container: Element): boolean;
renderToString(element: ReactElement