Skip to content

Commit 6bffa6c

Browse files
committed
[ReactNative] Unbreak flow errors
1 parent bb7ae59 commit 6bffa6c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Libraries/Components/TextInput/TextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ var TextInput = React.createClass({
407407
}
408408
},
409409

410-
getChildContext: function() {
410+
getChildContext: function(): Object {
411411
return {isInAParentText: true};
412412
},
413413

Libraries/Text/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ var Text = React.createClass({
179179
return PRESS_RECT_OFFSET;
180180
},
181181

182-
getChildContext: function() {
182+
getChildContext: function(): Object {
183183
return {isInAParentText: true};
184184
},
185185

0 commit comments

Comments
 (0)