// Type definitions for React (react-dom) 15.5 // Project: http://facebook.github.io/react/ // Definitions by: Asana // AssureSign // Microsoft // MartynasZilinskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 export as namespace ReactDOM; import { ReactInstance, Component, ComponentState, ReactElement, SFCElement, CElement, DOMAttributes, DOMElement } from 'react'; export function findDOMNode(instance: ReactInstance): E; export function findDOMNode(instance: ReactInstance): Element; export function render

, T extends Element>( element: DOMElement, container: Element | null, callback?: (element: T) => any ): T; export function render

( element: SFCElement

, container: Element | null, callback?: () => any ): void; export function render>( element: CElement, container: Element | null, callback?: (component: T) => any ): T; export function render

( element: ReactElement

, container: Element | null, callback?: (component?: Component | Element) => any ): Component | Element | void; export function render

( parentComponent: Component, element: SFCElement

, container: Element, callback?: () => any ): void; export function unmountComponentAtNode(container: Element): boolean; export const version: string; export function unstable_batchedUpdates(callback: (a: A, b: B) => any, a: A, b: B): void; export function unstable_batchedUpdates(callback: (a: A) => any, a: A): void; export function unstable_batchedUpdates(callback: () => any): void; export function unstable_renderSubtreeIntoContainer

, T extends Element>( parentComponent: Component, element: DOMElement, container: Element, callback?: (element: T) => any): T; export function unstable_renderSubtreeIntoContainer>( parentComponent: Component, element: CElement, container: Element, callback?: (component: T) => any): T; export function unstable_renderSubtreeIntoContainer

( parentComponent: Component, element: ReactElement

, container: Element, callback?: (component?: Component | Element) => any): Component | Element | void;