Back out "Flow v0.86.0 in xplat/sonar"

Summary: Original commit changeset: f0122c8c6d60

Reviewed By: avielg

Differential Revision: D13083312

fbshipit-source-id: 4b77fda5221feff5c721bb8a509b1350d60046d5
This commit is contained in:
Panagiotis Vekris
2018-11-15 08:20:19 -08:00
committed by Facebook Github Bot
parent 0b43d219c3
commit b2b27b774e
14 changed files with 6 additions and 50 deletions

View File

@@ -23,4 +23,4 @@ module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
suppress_type=$FlowFixMe
[version]
^0.86.0
^0.84.0

View File

@@ -47,7 +47,7 @@
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.5.1",
"eslint-plugin-relay": "^0.0.20",
"flow-bin": "^0.86.0",
"flow-bin": "^0.84.0",
"glob": "^7.1.2",
"jest": "^23.6.0",
"prettier": "1.13.6",

View File

@@ -72,10 +72,6 @@ export class App extends React.Component<Props> {
);
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({
application: {pluginManagerVisible, bugDialogVisible, leftSidebarVisible},

View File

@@ -322,10 +322,6 @@ class NotificationsTable extends Component<Props, State> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
const ConnectedNotificationsTable = connect(
({
notifications: {

View File

@@ -174,10 +174,6 @@ class PluginContainer extends Component<Props, State> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({
application: {rightSidebarVisible, rightSidebarAvailable},

View File

@@ -51,10 +51,6 @@ class DetailSidebar extends React.Component<Props> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({application: {rightSidebarVisible, rightSidebarAvailable}}) => ({
rightSidebarVisible,

View File

@@ -94,10 +94,6 @@ class DevicesButton extends Component<Props> {
);
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({connections: {devices, androidEmulators, selectedDevice}}) => ({
devices,

View File

@@ -301,10 +301,6 @@ class MainSidebar extends Component<MainSidebarProps> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({
application: {windowIsFocused},

View File

@@ -282,10 +282,6 @@ class ScreenCaptureButtons extends Component<Props, State> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(({connections: {selectedDevice}}) => ({
selectedDevice,
}))(ScreenCaptureButtons);

View File

@@ -107,10 +107,6 @@ class TitleBar extends Component<Props> {
}
}
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default connect(
({
application: {

View File

@@ -130,10 +130,6 @@ export default class LogWatcher extends PureComponent<Props, State> {
};
buildRows = () => {
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
return this.props.counters.map(({label, count, notify}, i) => ({
columns: {
expression: {

View File

@@ -52,10 +52,6 @@ export type Store = ReduxStore<
| {|type: 'INIT'|},
>;
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
export default combineReducers({
application,
connections: persistReducer(

View File

@@ -120,10 +120,6 @@ export class InspectorSidebar extends Component<Props, State> {
const sections =
(extensions &&
/* $FlowFixMe(>=0.86.0) This
* comment suppresses an error found when Flow v0.86 was
* deployed. To see the error, delete this comment and
* run Flow. */
extensions.map(ext =>
ext(
this.props.client,

View File

@@ -2804,10 +2804,10 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"
flow-bin@^0.86.0:
version "0.86.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.86.0.tgz#153a28722b4dc13b7200c74b644dd4d9f4969a11"
integrity sha512-ulRvFH3ewGIYwg+qPk/OJXoe3Nhqi0RyR0wqgK0b1NzUDEC6O99zU39MBTickXvlrr6iwRO6Wm4lVGeDmnzbew==
flow-bin@^0.84.0:
version "0.84.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.84.0.tgz#4cb2364c750fb37a7840524fa62456b53f64cdcb"
integrity sha512-ocji8eEYp+YfICsm+F6cIHUcD7v5sb0/ADEXm6gyUKdjQzmSckMrPUdZtyfP973t3YGHKliUMxMvIBHyR5LbXQ==
flow-parser@^0.*:
version "0.81.0"