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

@@ -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,