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

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

View File

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

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( export default connect(
({ ({
application: {pluginManagerVisible, bugDialogVisible, leftSidebarVisible}, 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( const ConnectedNotificationsTable = connect(
({ ({
notifications: { 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( export default connect(
({ ({
application: {rightSidebarVisible, rightSidebarAvailable}, 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( export default connect(
({application: {rightSidebarVisible, rightSidebarAvailable}}) => ({ ({application: {rightSidebarVisible, rightSidebarAvailable}}) => ({
rightSidebarVisible, 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( export default connect(
({connections: {devices, androidEmulators, selectedDevice}}) => ({ ({connections: {devices, androidEmulators, selectedDevice}}) => ({
devices, 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( export default connect(
({ ({
application: {windowIsFocused}, 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}}) => ({ export default connect(({connections: {selectedDevice}}) => ({
selectedDevice, selectedDevice,
}))(ScreenCaptureButtons); }))(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( export default connect(
({ ({
application: { application: {

View File

@@ -130,6 +130,10 @@ export default class LogWatcher extends PureComponent<Props, State> {
}; };
buildRows = () => { 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) => ({ return this.props.counters.map(({label, count, notify}, i) => ({
columns: { columns: {
expression: { expression: {

View File

@@ -52,6 +52,10 @@ export type Store = ReduxStore<
| {|type: 'INIT'|}, | {|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({ export default combineReducers({
application, application,
connections: persistReducer( connections: persistReducer(

View File

@@ -120,6 +120,10 @@ export class InspectorSidebar extends Component<Props, State> {
const sections = const sections =
(extensions && (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 => extensions.map(ext =>
ext( ext(
this.props.client, this.props.client,

View File

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