We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c834d1e + ed8c24d commit 75ca71aCopy full SHA for 75ca71a
react/react.d.ts
@@ -135,7 +135,7 @@ declare namespace __React {
135
constructor(props?: P, context?: any);
136
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
137
setState(state: S, callback?: () => any): void;
138
- forceUpdate(): void;
+ forceUpdate(callBack?: () => any): void;
139
render(): JSX.Element;
140
props: P;
141
state: S;
@@ -932,7 +932,7 @@ declare module "react/addons" {
932
933
934
935
936
937
938
0 commit comments