Skip to content

Commit ad7d8f8

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Fix internal types on top of TextInput refactor
Summary: Types were moved out of TextInput into TextInputTypes for better re-use. Fixing the internal callsites. This isn't much of a worry externally because these types aren't exposed as part of the public API Reviewed By: RSNara Differential Revision: D10517066 fbshipit-source-id: bade4285eafb3d7ab5ab1e4b0730c22d45925509
1 parent 70e9e26 commit ad7d8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class TextInput extends React.Component<Props> {
161161
};
162162

163163
_inputRef: ?React.ElementRef<Class<TextInputType>> = null;
164-
_lastNativeText: ?string = null;
164+
_lastNativeText: ?Stringish = null;
165165
_lastNativeSelection: ?Selection = null;
166166
_rafId: ?AnimationFrameID = null;
167167

0 commit comments

Comments
 (0)