From ad7d8f89ef8dbcc1080b9d8a13f4bd50c6f83df1 Mon Sep 17 00:00:00 2001 From: Eli White Date: Wed, 7 Nov 2018 18:42:19 -0800 Subject: [PATCH] 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 --- Libraries/Components/TextInput/TextInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index cf71c2cd6..9f4c8223e 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -161,7 +161,7 @@ class TextInput extends React.Component { }; _inputRef: ?React.ElementRef> = null; - _lastNativeText: ?string = null; + _lastNativeText: ?Stringish = null; _lastNativeSelection: ?Selection = null; _rafId: ?AnimationFrameID = null;