[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
This commit is contained in:
Eric Vicenti 2015-06-05 10:54:17 -07:00
parent 45d8fb0ef6
commit bb95400f24
1 changed files with 1 additions and 2 deletions

View File

@ -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');