Update Sonar from 0.69.0 to 0.70.0

Summary:
All the new errors were missing annotation errors. I fixed as many as I could
by adding annotations. For the rest I added a $FlowFixMe suppression type.

Reviewed By: nmote

Differential Revision: D8756267

fbshipit-source-id: a69b6e21525b9b12e582ff18dcb1eeea584abb2a
This commit is contained in:
Sam Goldman
2018-07-06 15:57:14 -07:00
committed by Facebook Github Bot
parent d45bc14cce
commit 51741a2741
6 changed files with 9 additions and 7 deletions

View File

@@ -26,6 +26,8 @@ import FlexRow from '../FlexRow.js';
const invariant = require('invariant');
type MenuTemplate = Array<Electron$MenuItemOptions>;
const TableHeaderArrow = styled.text({
float: 'right',
});
@@ -198,7 +200,7 @@ export default class TableHead extends PureComponent<{
columnSizes: TableColumnSizes,
onColumnResize: ?TableOnColumnResize,
}> {
buildContextMenu = () => {
buildContextMenu = (): MenuTemplate => {
return Object.keys(this.props.columns).map(key => {
const visible = this.props.columnKeys.includes(key);
return {