[ReactNative] Unbreak flow errors

This commit is contained in:
Christopher Chedeau 2015-05-29 15:24:00 -07:00
parent bb7ae59a12
commit 6bffa6c8a8
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};
},