Convert logs plugin to TypeScript

Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17184173

fbshipit-source-id: c7a055544ee4d9e07e5685fa84669d68fd68bf31
This commit is contained in:
Pascal Hartig
2019-09-16 09:11:36 -07:00
committed by Facebook Github Bot
parent 25de8ee90a
commit 2fcd0cbcac
5 changed files with 87 additions and 72 deletions

View File

@@ -149,7 +149,7 @@ const Container = styled(FlexColumn)((props: {canOverflow?: boolean}) => ({
const globalTableState: {[key: string]: TableColumnSizes} = {};
class ManagedTable extends React.Component<
export class ManagedTable extends React.Component<
ManagedTableProps,
ManagedTableState
> {
@@ -607,7 +607,7 @@ class ManagedTable extends React.Component<
getRow = ({index, style}: {index: number; style: React.CSSProperties}) => {
const {onAddFilter, multiline, zebra, rows} = this.props;
const {columnOrder, columnSizes, highlightedRows} = this.state;
const columnKeys = columnOrder
const columnKeys: Array<string> = columnOrder
.map(k => (k.visible ? k.key : null))
.filter(notNull);