We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ad810 commit aceaaa6Copy full SHA for aceaaa6
Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js
@@ -15,7 +15,9 @@ var RCTPOPAnimationManager = require('NativeModules').POPAnimationManager;
15
if (!RCTPOPAnimationManager) {
16
// POP animation isn't available in the OSS fork - this is a temporary
17
// workaround to enable its availability to be determined at runtime.
18
- module.exports = (null: ?Object);
+ // For Flow let's pretend like we always export POPAnimation
19
+ // so all our users don't need to do null checks
20
+ module.exports = ((null: any): typeof POPAnimation);
21
} else {
22
23
var ReactPropTypes = require('ReactPropTypes');
0 commit comments