Merge branch 'types-2.0' into RyanCavanaugh-merge_7_25

This commit is contained in:
Kanchalai Tanglertsampan
2016-07-28 09:06:45 -07:00
3 changed files with 227 additions and 3 deletions
+3 -3
View File
@@ -166,8 +166,8 @@ declare namespace React {
constructor(props?: P, context?: any);
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
setState(state: S, callback?: () => any): void;
forceUpdate(callback?: () => any): void;
render(): JSX.Element;
forceUpdate(callBack?: () => any): void;
render(): JSX.Element | null;
// React.Props<T> is now deprecated, which means that the `children`
// property is not available on `P` by default, even though you can
@@ -2510,4 +2510,4 @@ declare global {
use: React.SVGProps;
}
}
}
}