Upgrade to Flow v0.68.0

Reviewed By: gabelevi

Differential Revision: D7310349

fbshipit-source-id: 70d29815dd7912704aec8a015c970be3fafeeba3
This commit is contained in:
Sam Goldman
2018-03-19 18:24:11 -07:00
committed by Facebook Github Bot
parent 5347ecfd29
commit 0d924dd629
16 changed files with 72 additions and 11 deletions

View File

@@ -51,6 +51,9 @@ let _uniqueId = 1;
function _flush(rootNode: AnimatedValue): void {
const animatedStyles = new Set();
function findAnimatedStyles(node) {
/* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.68 was deployed. To see the error delete this
* comment and run Flow. */
if (typeof node.update === 'function') {
animatedStyles.add(node);
} else {