mirror of
https://github.com/status-im/react-native.git
synced 2025-02-28 09:00:55 +00:00
[ReactNative] Unbreak flow errors
This commit is contained in:
parent
bb7ae59a12
commit
6bffa6c8a8
@ -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