Skip to content

Commit

Permalink
[ReactNative] Unbreak flow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux committed May 29, 2015
1 parent bb7ae59 commit 6bffa6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ var TextInput = React.createClass({
}
},

getChildContext: function() {
getChildContext: function(): Object {
return {isInAParentText: true};
},

Expand Down
2 changes: 1 addition & 1 deletion Libraries/Text/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ var Text = React.createClass({
return PRESS_RECT_OFFSET;
},

getChildContext: function() {
getChildContext: function(): Object {
return {isInAParentText: true};
},

Expand Down

0 comments on commit 6bffa6c

Please sign in to comment.