mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Fix forceUpdate callback typo (#37628)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
525d1d8b0f
commit
b6c6778f4f
Vendored
+1
-1
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user