diff --git a/react/react.d.ts b/react/react.d.ts index 507a18f39..b6c0f4989 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -10,7 +10,7 @@ declare module "react" { declare module React { export function createClass(specification: Specification): Factory

; - export function renderComponent(component: Descriptor, container: Element, callback?: () => void): void; + export function renderComponent

(component: Descriptor

, container: Element, callback?: () => void): Descriptor

; export function unmountComponentAtNode(container: Element): boolean;