From bb95400f244015c96fe201d22d40f65bd6805775 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Fri, 5 Jun 2015 10:54:17 -0700 Subject: [PATCH] [ReactNative] Fix POPAnimation export issue from bad transform Summary: Some transform is going wrong here and produces broken code @public Test Plan: Test on OSS repo, e2e tests pass --- Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js b/Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js index 0245cc144..c8e289431 100644 --- a/Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js +++ b/Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js @@ -7,7 +7,6 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule POPAnimation - * @flow */ 'use strict'; @@ -17,7 +16,7 @@ if (!RCTPOPAnimationManager) { // workaround to enable its availability to be determined at runtime. // For Flow let's pretend like we always export POPAnimation // so all our users don't need to do null checks - module.exports = ((null: any): typeof POPAnimation); + module.exports = null; } else { var ReactPropTypes = require('ReactPropTypes');