[react-dom] render has wrong signature

fixes #23527
This commit is contained in:
迷渡
2019-04-11 13:00:59 +08:00
committed by GitHub
parent 55ece09ae5
commit ea3b44d2c1

View File

@@ -91,11 +91,4 @@ export interface Renderer {
container: Element | null,
callback?: () => void
): Component<any, ComponentState> | Element | void;
(
parentComponent: Component<any> | Array<Component<any>>,
element: SFCElement<any>,
container: Element,
callback?: () => void
): void;
}