[ReactNative] Unbreak flow errors

This commit is contained in:
Christopher Chedeau committed 2015-05-29 14:24:00 -08:00
1 parent bb7ae59a12
commit 6bffa6c8a8
2 files changed
+2 -2

No files matched your search

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