Flow v0.86.0 in xplat/sonar

Summary: allow-large-files

Reviewed By: gabelevi, dsainati1

Differential Revision: D13105210

fbshipit-source-id: 462af926206a10618a725531f2e62da9f3291fc0
This commit is contained in:
Panagiotis Vekris
2018-11-19 12:05:34 -08:00
committed by Facebook Github Bot
parent 018718244a
commit e380fa7a08
14 changed files with 47 additions and 6 deletions

View File

@@ -72,6 +72,10 @@ 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,6 +322,10 @@ 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,6 +174,10 @@ 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,6 +51,10 @@ 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,6 +94,9 @@ 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,6 +301,10 @@ 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,6 +282,10 @@ 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,6 +107,8 @@ 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,6 +130,10 @@ 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,6 +52,10 @@ 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,6 +120,10 @@ 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,