@allow-large-files Upgrade typescript

Summary: This diff updates the typescript version and it fixes `yarn lint:tsc`. It also successfully pointed out fes of the problems in our codebase. I have fixed those problems

Reviewed By: mweststrate

Differential Revision: D21548003

fbshipit-source-id: e69c986ee3c763588d9e1e290dad08d1cf1976a8
This commit is contained in:
Pritesh Nandgaonkar
2020-05-13 06:55:10 -07:00
committed by Facebook GitHub Bot
parent 76a177a282
commit dcaff4babc
7 changed files with 12 additions and 5 deletions

View File

@@ -111,7 +111,6 @@ function Visualizer(props: {
userSelect: 'none',
}}></div>
)}
/>
</VisualizerContainer>
);
}

View File

@@ -194,8 +194,8 @@ export default class FilterToken extends PureComponent<Props> {
value = [];
}
const newFilter: Filter = {
type: 'enum',
...filter,
type: 'enum',
value,
};
this.props.onReplace(index, newFilter);