From b6c6778f4f992da171bdd1976026ce15ecfbab0a Mon Sep 17 00:00:00 2001 From: Martin V Date: Fri, 16 Aug 2019 00:52:01 +0200 Subject: [PATCH] Fix forceUpdate callback typo (#37628) --- types/react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 2e1311bf3c..fa5d175306 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -439,7 +439,7 @@ declare namespace React { callback?: () => void ): void; - forceUpdate(callBack?: () => void): void; + forceUpdate(callback?: () => void): void; render(): ReactNode; // React.Props is now deprecated, which means that the `children`