Deploy Flow v0.85 to xplat/js

Reviewed By: fishythefish

Differential Revision: D12898653

fbshipit-source-id: 2ed11ce569600fe4c12528939a350dd827c9a29a
This commit is contained in:
Sam Goldman
2018-11-02 00:28:28 -07:00
committed by Facebook Github Bot
parent 04ea9762e2
commit adc8a33fcf
24 changed files with 76 additions and 17 deletions
@@ -397,8 +397,8 @@ export type Props = $ReadOnly<{|
* - `false`, deprecated, use 'never' instead
* - `true`, deprecated, use 'always' instead
*/
/* $FlowFixMe(>=0.84.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.84 was deployed. To see the error, delete this comment
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.85 was deployed. To see the error, delete this comment
* and run Flow. */
keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true),
/**
@@ -60,6 +60,9 @@ class StyleSheetValidation {
}
}
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.85 was deployed. To see the error, delete this comment
* and run Flow. */
static addValidStylePropTypes(stylePropTypes) {
if (!__DEV__ || global.__RCTProfileIsProfiling) {
return;
+3
View File
@@ -15,4 +15,7 @@ const React = require('React');
/**
* Whether the current element is the descendant of a <Text> element.
*/
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.85 was deployed. To see the error, delete this comment
* and run Flow. */
module.exports = React.createContext(false);