explicit type args in react-native-github

Reviewed By: vjeux

Differential Revision: D3342856

fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
Basil Hosmer
2016-05-24 18:20:12 -07:00
committed by Facebook Github Bot 9
parent caa2baee9d
commit ac5636dd59
67 changed files with 149 additions and 153 deletions

View File

@@ -52,7 +52,7 @@ const MIN_POSITION_OFFSET = 0.01;
*/
function create(
Component: ReactClass<any>,
): ReactClass {
): ReactClass<any> {
class Container extends React.Component<any, Props, any> {
@@ -86,7 +86,7 @@ function create(
this._bindPosition(nextProps);
}
render(): ReactElement {
render(): ReactElement<any> {
this._pointerEvents = this._computePointerEvents();
return (
<Component