Skip to content

Commit aceaaa6

Browse files
gabelevivjeux
authored andcommitted
[Flow] v0.11.0 cleaning - Part 15 (Libraries/FBReactKit/js)
1 parent 81ad810 commit aceaaa6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ var RCTPOPAnimationManager = require('NativeModules').POPAnimationManager;
1515
if (!RCTPOPAnimationManager) {
1616
// POP animation isn't available in the OSS fork - this is a temporary
1717
// workaround to enable its availability to be determined at runtime.
18-
module.exports = (null: ?Object);
18+
// 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);
1921
} else {
2022

2123
var ReactPropTypes = require('ReactPropTypes');

0 commit comments

Comments
 (0)