mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 09:29:07 +08:00
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:
committed by
Facebook Github Bot
parent
43ad3a64e6
commit
984eef8f9e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user