mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
[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:
parent
45d8fb0ef6
commit
bb95400f24
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user