mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
[Flow] v0.11.0 cleaning - Part 15 (Libraries/FBReactKit/js)
This commit is contained in:
parent
81ad810186
commit
aceaaa69eb
@ -15,7 +15,9 @@ var RCTPOPAnimationManager = require('NativeModules').POPAnimationManager;
|
||||
if (!RCTPOPAnimationManager) {
|
||||
// POP animation isn't available in the OSS fork - this is a temporary
|
||||
// workaround to enable its availability to be determined at runtime.
|
||||
module.exports = (null: ?Object);
|
||||
// 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);
|
||||
} else {
|
||||
|
||||
var ReactPropTypes = require('ReactPropTypes');
|
||||
|
Loading…
x
Reference in New Issue
Block a user