[ReactNative] Unbreak flow errors
This commit is contained in:
parent
74c337f770
commit
b9a47062a6
|
@ -407,7 +407,7 @@ var TextInput = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getChildContext: function() {
|
getChildContext: function(): Object {
|
||||||
return {isInAParentText: true};
|
return {isInAParentText: true};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ var Text = React.createClass({
|
||||||
return PRESS_RECT_OFFSET;
|
return PRESS_RECT_OFFSET;
|
||||||
},
|
},
|
||||||
|
|
||||||
getChildContext: function() {
|
getChildContext: function(): Object {
|
||||||
return {isInAParentText: true};
|
return {isInAParentText: true};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue