diff --git a/Libraries/Animated/src/Animated.js b/Libraries/Animated/src/Animated.js index f25d2a079..8678b21f1 100644 --- a/Libraries/Animated/src/Animated.js +++ b/Libraries/Animated/src/Animated.js @@ -16,14 +16,10 @@ const ScrollView = require('ScrollView'); const Text = require('Text'); const View = require('View'); -const Animated = { +module.exports = { + ...AnimatedImplementation, View: AnimatedImplementation.createAnimatedComponent(View), Text: AnimatedImplementation.createAnimatedComponent(Text), Image: AnimatedImplementation.createAnimatedComponent(Image), ScrollView: AnimatedImplementation.createAnimatedComponent(ScrollView), }; - -Object.assign((Animated: Object), AnimatedImplementation); - -module.exports = ((Animated: any): typeof AnimatedImplementation & - typeof Animated);