Fix forceUpdate callback typo (#37628)

This commit is contained in:
Martin V
2019-08-15 15:52:01 -07:00
committed by Pranav Senthilnathan
parent 525d1d8b0f
commit b6c6778f4f
+1 -1
View File
@@ -439,7 +439,7 @@ declare namespace React {
callback?: () => void
): void;
forceUpdate(callBack?: () => void): void;
forceUpdate(callback?: () => void): void;
render(): ReactNode;
// React.Props<T> is now deprecated, which means that the `children`