Revert D12994045: Flow v0.86.0 in xplat/js [3/n]

Differential Revision:
D12994045

Original commit changeset: 04552bf081ba

fbshipit-source-id: 062b367b88a966a6efc895c99e9911f0ec0fe8ff
This commit is contained in:
Stephy Ma
2018-11-14 23:01:53 -08:00
committed by Facebook Github Bot
parent 43ad3a64e6
commit 984eef8f9e
8 changed files with 13 additions and 22 deletions

View File

@@ -349,6 +349,9 @@ class AnimatedInterpolation extends AnimatedWithChildren {
__transformDataType(range: Array<any>) {
// Change the string array type to number array
// So we can reuse the same logic in iOS and Android platform
/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.70 was deployed. To see the error delete this
* comment and run Flow. */
return range.map(function(value) {
if (typeof value !== 'string') {
return value;