[ReactNative] Unbreak flow errors

This commit is contained in:
Christopher Chedeau 2015-05-29 15:24:00 -07:00 committed by Tadeu Zagallo
parent 74c337f770
commit b9a47062a6
2 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ var TextInput = React.createClass({
}
},
getChildContext: function() {
getChildContext: function(): Object {
return {isInAParentText: true};
},

View File

@ -179,7 +179,7 @@ var Text = React.createClass({
return PRESS_RECT_OFFSET;
},
getChildContext: function() {
getChildContext: function(): Object {
return {isInAParentText: true};
},