Skip to content

Commit bac2c2c

Browse files
Luna Weifacebook-github-bot
Luna Wei
authored andcommittedApr 1, 2021
Update FlowFixMes to use error codes in react-native-github
Summary: Changelog: [Internal] - Add error codes to existing FlowFixMe's Reviewed By: kacieb Differential Revision: D27445689 fbshipit-source-id: 2b19692e1cb822ab6785efcc5f93ee33e7dce1e5
1 parent 321de15 commit bac2c2c

File tree

65 files changed

+370
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+370
-281
lines changed
 

‎IntegrationTests/AsyncStorageTest.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,10 @@ class AsyncStorageTest extends React.Component<{...}, $FlowFixMeState> {
218218
return (
219219
<View style={styles.container}>
220220
<Text>
221-
{/* $FlowFixMe(>=0.54.0 site=react_native_fb,react_native_oss) This
222-
* comment suppresses an error found when Flow v0.54 was deployed.
223-
* To see the error delete this comment and run Flow. */
221+
{/* $FlowFixMe[incompatible-type] (>=0.54.0 site=react_native_fb,react_
222+
* native_oss) This comment suppresses an error found when Flow v0.54
223+
* was deployed. To see the error delete this comment and run Flow.
224+
*/
224225
this.constructor.displayName + ': '}
225226
{this.state.done ? 'Done' : 'Testing...'}
226227
{'\n\n' + this.state.messages}

‎IntegrationTests/IntegrationTestHarnessTest.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ class IntegrationTestHarnessTest extends React.Component<Props, State> {
5656
return (
5757
<View style={styles.container}>
5858
<Text>
59-
{/* $FlowFixMe(>=0.54.0 site=react_native_fb,react_native_oss) This
60-
* comment suppresses an error found when Flow v0.54 was deployed.
61-
* To see the error delete this comment and run Flow. */
59+
{/* $FlowFixMe[incompatible-type] (>=0.54.0 site=react_native_fb,react_
60+
* native_oss) This comment suppresses an error found when Flow v0.54
61+
* was deployed. To see the error delete this comment and run Flow.
62+
*/
6263
this.constructor.displayName + ': '}
6364
{this.state.done ? 'Done' : 'Testing...'}
6465
</Text>

0 commit comments

Comments
 (0)
Please sign in to comment.