Flow v0.86.0 in xplat/sonar

Summary: allow-large-files

Reviewed By: zertosh

Differential Revision: D13067587

fbshipit-source-id: f0122c8c6d602750289121d2ab2fdb09cbb033bc
This commit is contained in:
Panagiotis Vekris
2018-11-14 13:25:58 -08:00
committed by Facebook Github Bot
parent a48c680a40
commit 6362188563
14 changed files with 50 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

@@ -311,6 +311,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

@@ -168,6 +168,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,10 @@ 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

@@ -281,6 +281,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,10 @@ 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

@@ -45,6 +45,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,