mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
[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};
|
||||
},
|
||||
|
||||
|
@ -179,7 +179,7 @@ var Text = React.createClass({
|
||||
return PRESS_RECT_OFFSET;
|
||||
},
|
||||
|
||||
getChildContext: function() {
|
||||
getChildContext: function(): Object {
|
||||
return {isInAParentText: true};
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user